Skip to content

Commit a6f9462

Browse files
Alberts Muktupāvelsvkareh
authored andcommitted
theme: revert theme format version 3.6
Shadow and padding was never part of theme. This format was created by mutter, and it is an incompatible change.
1 parent fbae49d commit a6f9462

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

doc/theme-format.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ This document has separate sections for each format version. You may
2222
want to read the document in reverse order, since the base features
2323
are discussed under version 1.
2424

25-
New Features in Theme Format Version 3.6
26-
========================================
27-
28-
Add new 'invisible_border' border in frame geometry. Used for resize
29-
cursor area.
30-
3125
New Features in Theme Format Version 3.5
3226
========================================
3327

src/ui/theme-parser.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* look out for.
3939
*/
4040
#define THEME_MAJOR_VERSION 3
41-
#define THEME_MINOR_VERSION 6
41+
#define THEME_MINOR_VERSION 5
4242
#define THEME_VERSION (1000 * THEME_MAJOR_VERSION + THEME_MINOR_VERSION)
4343

4444
#define MARCO_THEME_FILENAME_FORMAT "metacity-theme-%d.xml"
@@ -1570,8 +1570,6 @@ parse_border (GMarkupParseContext *context,
15701570
border = &info->layout->title_border;
15711571
else if (strcmp (name, "button_border") == 0)
15721572
border = &info->layout->button_border;
1573-
else if (strcmp (name, "invisible_border") == 0)
1574-
border = &info->layout->invisible_border;
15751573

15761574
if (border == NULL)
15771575
{

0 commit comments

Comments
 (0)