gtk: fix float frames to not appear in WM's window list

original commit: 45999143a4ad550520404299dd1fb2e38a4ee3d7
This commit is contained in:
Matthew Flatt 2011-01-27 12:12:35 -07:00
parent b1f7ed6927
commit 3981ea12a7
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
(provide (except-out (all-defined-out) <<))
(define GTK_WINDOW_TOPLEVEL 0)
(define GTK_WINDOW_POPUP 1)
(define << arithmetic-shift)

View File

@ -149,7 +149,9 @@
queue-on-size)
(define gtk (as-gtk-window-allocation
(gtk_window_new GTK_WINDOW_TOPLEVEL)))
(gtk_window_new (if (memq 'float style)
GTK_WINDOW_POPUP
GTK_WINDOW_TOPLEVEL))))
(when (memq 'no-caption style)
(gtk_window_set_decorated gtk #f))
(when (memq 'float style)