From c49f361a93752ffb53d99fd55fa7e8db2ac660c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Tue, 7 Oct 2014 05:37:23 +0300 Subject: 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 --- src/ui/theme.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/theme.h') 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, -- cgit v1.2.1