summaryrefslogtreecommitdiff
path: root/src/ui/theme.h
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2014-10-07 05:37:23 +0300
committerVictor Kareh <[email protected]>2018-08-28 18:53:42 -0400
commitc49f361a93752ffb53d99fd55fa7e8db2ac660c5 (patch)
treef5c02fb0bbb261f96900f09ec170c72ba5e8cc07 /src/ui/theme.h
parentcb9a1be4e7d324be0ec58b1783f72783e1a8f576 (diff)
downloadmarco-c49f361a93752ffb53d99fd55fa7e8db2ac660c5.tar.bz2
marco-c49f361a93752ffb53d99fd55fa7e8db2ac660c5.tar.xz
add support for app-menu button in theme
Add app-menu button support in themes. This is done only to support metacity theme format 3.5 version. Marco will not show this button! Based on metacity commit: https://gitlab.gnome.org/GNOME/metacity/commit/6a2cc159
Diffstat (limited to 'src/ui/theme.h')
-rw-r--r--src/ui/theme.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/theme.h b/src/ui/theme.h
index 56144edc..4e21a6e5 100644
--- a/src/ui/theme.h
+++ b/src/ui/theme.h
@@ -192,6 +192,7 @@ struct _MetaFrameGeometry
MetaButtonSpace max_rect;
MetaButtonSpace min_rect;
MetaButtonSpace menu_rect;
+ MetaButtonSpace appmenu_rect;
MetaButtonSpace shade_rect;
MetaButtonSpace above_rect;
MetaButtonSpace stick_rect;
@@ -609,6 +610,7 @@ typedef enum
META_BUTTON_TYPE_MAXIMIZE,
META_BUTTON_TYPE_MINIMIZE,
META_BUTTON_TYPE_MENU,
+ META_BUTTON_TYPE_APPMENU,
META_BUTTON_TYPE_SHADE,
META_BUTTON_TYPE_ABOVE,
META_BUTTON_TYPE_STICK,