From 478bb20385be61fc4a97091c5977bbd79b74e8d3 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sat, 13 Apr 2013 10:47:58 -0700 Subject: [PATCH] Added new, Gtk3 window type hints to gtk-window-set-type-hint. --- src/gtk/Includes/gdkwindow.cdecl | 8 +++++++- src/gtk/gtk-widget.scm | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/gtk/Includes/gdkwindow.cdecl b/src/gtk/Includes/gdkwindow.cdecl index 639d9656b..0b1121b8b 100644 --- a/src/gtk/Includes/gdkwindow.cdecl +++ b/src/gtk/Includes/gdkwindow.cdecl @@ -48,7 +48,13 @@ gdk/gdkwindow.h |# (GDK_WINDOW_TYPE_HINT_SPLASHSCREEN) (GDK_WINDOW_TYPE_HINT_UTILITY) (GDK_WINDOW_TYPE_HINT_DOCK) - (GDK_WINDOW_TYPE_HINT_DESKTOP))) + (GDK_WINDOW_TYPE_HINT_DESKTOP) + (GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU) + (GDK_WINDOW_TYPE_HINT_POPUP_MENU) + (GDK_WINDOW_TYPE_HINT_TOOLTIP) + (GDK_WINDOW_TYPE_HINT_NOTIFICATION) + (GDK_WINDOW_TYPE_HINT_COMBO) + (GDK_WINDOW_TYPE_HINT_DND))) (typedef GdkWMDecoration (enum diff --git a/src/gtk/gtk-widget.scm b/src/gtk/gtk-widget.scm index fa0107e81..1ae1bba35 100644 --- a/src/gtk/gtk-widget.scm +++ b/src/gtk/gtk-widget.scm @@ -847,6 +847,12 @@ USA. ((UTILITY) (C-enum "GDK_WINDOW_TYPE_HINT_UTILITY")) ((DOCK) (C-enum "GDK_WINDOW_TYPE_HINT_DOCK")) ((DESKTOP) (C-enum "GDK_WINDOW_TYPE_HINT_DESKTOP")) + ((DROPDOWN-MENU) (C-enum "GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU")) + ((POPUP-MENU) (C-enum "GDK_WINDOW_TYPE_HINT_POPUP_MENU")) + ((TOOLTIP) (C-enum "GDK_WINDOW_TYPE_HINT_TOOLTIP")) + ((NOTIFICATION) (C-enum "GDK_WINDOW_TYPE_HINT_NOTIFICATION")) + ((COMBO) (C-enum "GDK_WINDOW_TYPE_HINT_COMBO")) + ((DND) (C-enum "GDK_WINDOW_TYPE_HINT_DND")) (else (error:wrong-type-argument object "a GdkWindow type hint" operator)))) (define (gtk-window-get-default-size window receiver) -- 2.25.1