summaryrefslogtreecommitdiff
path: root/src/hints.c
diff options
context:
space:
mode:
authorOlivier Fourdan <fourdan@xfce.org>2015-02-24 22:35:11 +0100
committerOlivier Fourdan <fourdan@xfce.org>2015-02-24 22:38:43 +0100
commit75e950008b0b57caa3045806cf3a9ead65966d07 (patch)
treecee169decdfecc547624ec77a353daacd9fbd4a1 /src/hints.c
parent68365da4bb048f03871ab32882e47098bd9d4218 (diff)
downloadxfwm4-75e950008b0b57caa3045806cf3a9ead65966d07.tar.gz
Add support for gtk window menu
Bug: 11590 Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
Diffstat (limited to 'src/hints.c')
-rw-r--r--src/hints.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hints.c b/src/hints.c
index d955ac14f..1dce39cb5 100644
--- a/src/hints.c
+++ b/src/hints.c
@@ -417,6 +417,10 @@ setNetSupportedHint (DisplayInfo *display_info, Window root, Window check_win)
atoms[i++] = display_info->atoms[NET_WM_WINDOW_TYPE_TOOLBAR];
atoms[i++] = display_info->atoms[NET_WM_WINDOW_TYPE_UTILITY];
atoms[i++] = display_info->atoms[NET_WORKAREA];
+ /* GTK specific hints */
+ atoms[i++] = display_info->atoms[GTK_FRAME_EXTENTS];
+ atoms[i++] = display_info->atoms[GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED];
+ atoms[i++] = display_info->atoms[GTK_SHOW_WINDOW_MENU];
#ifdef HAVE_LIBSTARTUP_NOTIFICATION
atoms[i++] = display_info->atoms[NET_STARTUP_ID];
#endif