diff options
author | Alberts Muktupāvels <[email protected]> | 2014-10-07 05:37:23 +0300 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2018-08-28 18:53:42 -0400 |
commit | c49f361a93752ffb53d99fd55fa7e8db2ac660c5 (patch) | |
tree | f5c02fb0bbb261f96900f09ec170c72ba5e8cc07 /src/core | |
parent | cb9a1be4e7d324be0ec58b1783f72783e1a8f576 (diff) | |
download | marco-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/core')
-rw-r--r-- | src/core/prefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/prefs.c b/src/core/prefs.c index b5f9f7e3..74cf0ca7 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -1267,6 +1267,8 @@ button_function_from_string (const char *str) if (strcmp (str, "menu") == 0) return META_BUTTON_FUNCTION_MENU; + else if (strcmp (str, "appmenu") == 0) + return META_BUTTON_FUNCTION_APPMENU; else if (strcmp (str, "minimize") == 0) return META_BUTTON_FUNCTION_MINIMIZE; else if (strcmp (str, "maximize") == 0) |