Skip to content

Commit

Permalink
theme: revert theme format version 3.6
Browse files Browse the repository at this point in the history
Shadow and padding was never part of theme. This format was created by
mutter, and it is an incompatible change.
  • Loading branch information
Alberts Muktupāvels authored and vkareh committed Aug 29, 2018
1 parent fbae49d commit a6f9462
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 0 additions & 6 deletions doc/theme-format.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ This document has separate sections for each format version. You may
want to read the document in reverse order, since the base features
are discussed under version 1.

New Features in Theme Format Version 3.6
========================================

Add new 'invisible_border' border in frame geometry. Used for resize
cursor area.

New Features in Theme Format Version 3.5
========================================

Expand Down
4 changes: 1 addition & 3 deletions src/ui/theme-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* look out for.
*/
#define THEME_MAJOR_VERSION 3
#define THEME_MINOR_VERSION 6
#define THEME_MINOR_VERSION 5
#define THEME_VERSION (1000 * THEME_MAJOR_VERSION + THEME_MINOR_VERSION)

#define MARCO_THEME_FILENAME_FORMAT "metacity-theme-%d.xml"
Expand Down Expand Up @@ -1570,8 +1570,6 @@ 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)
{
Expand Down

0 comments on commit a6f9462

Please sign in to comment.