diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2015-02-24 22:35:11 +0100 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2015-02-24 22:38:43 +0100 |
commit | 75e950008b0b57caa3045806cf3a9ead65966d07 (patch) | |
tree | cee169decdfecc547624ec77a353daacd9fbd4a1 /src/hints.c | |
parent | 68365da4bb048f03871ab32882e47098bd9d4218 (diff) | |
download | xfwm4-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.c | 4 |
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 |