diff options
Diffstat (limited to 'module/data.c')
-rw-r--r-- | module/data.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/module/data.c b/module/data.c index bbfbaec..8962287 100644 --- a/module/data.c +++ b/module/data.c @@ -49,6 +49,21 @@ topmenu_is_window_blacklisted (GtkWindow *window) if (GTK_IS_PLUG (window)) return TRUE; + switch (gtk_window_get_type_hint (window)) { + case GDK_WINDOW_TYPE_HINT_MENU: + case GDK_WINDOW_TYPE_HINT_TOOLBAR: + case GDK_WINDOW_TYPE_HINT_DOCK: + case GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU: + case GDK_WINDOW_TYPE_HINT_POPUP_MENU: + case GDK_WINDOW_TYPE_HINT_TOOLTIP: + case GDK_WINDOW_TYPE_HINT_NOTIFICATION: + case GDK_WINDOW_TYPE_HINT_COMBO: + case GDK_WINDOW_TYPE_HINT_DND: + return TRUE; + default: + break; + } + return FALSE; } |