summaryrefslogtreecommitdiff
path: root/src/ui/theme-parser.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2015-01-18 16:07:48 +0200
committerVictor Kareh <[email protected]>2018-08-28 19:15:05 -0400
commit93b5dd1cf945b59a1ec605e66c2ceda49ba9e397 (patch)
treeecd6b884fffeaeb9771bf622cd41032d1ec48529 /src/ui/theme-parser.c
parentc49f361a93752ffb53d99fd55fa7e8db2ac660c5 (diff)
downloadmarco-93b5dd1cf945b59a1ec605e66c2ceda49ba9e397.tar.bz2
marco-93b5dd1cf945b59a1ec605e66c2ceda49ba9e397.tar.xz
theme: add invisible_border to metacity theme
This adds 'invisible_border' to metacity theme. This invisible border will be used for resize cursor area.
Diffstat (limited to 'src/ui/theme-parser.c')
-rw-r--r--src/ui/theme-parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/theme-parser.c b/src/ui/theme-parser.c
index a328fd06..6fadaa1d 100644
--- a/src/ui/theme-parser.c
+++ b/src/ui/theme-parser.c
@@ -38,7 +38,7 @@
* look out for.
*/
#define THEME_MAJOR_VERSION 3
-#define THEME_MINOR_VERSION 5
+#define THEME_MINOR_VERSION 6
#define THEME_VERSION (1000 * THEME_MAJOR_VERSION + THEME_MINOR_VERSION)
#define MARCO_THEME_FILENAME_FORMAT "metacity-theme-%d.xml"
@@ -1570,6 +1570,8 @@ parse_border (GMarkupParseContext *context,
border = &info->layout->title_border;
else if (strcmp (name, "button_border") == 0)
border = &info->layout->button_border;
+ else if (strcmp (name, "invisible_border") == 0)
+ border = &info->layout->invisible_border;
if (border == NULL)
{