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

This commit is contained in:
Matthew Flatt 2011-01-27 12:12:35 -07:00
parent 08bf77deeb
commit 45999143a4
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)