Skip to content
Permalink
Browse files

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.
  • Loading branch information...
muktupavels authored and vkareh committed Jan 28, 2016
1 parent fbae49d commit a6f9462029e7395c778a6aef9e9e1c5b2452bdda
Showing with 1 addition and 9 deletions.
  1. +0 −6 doc/theme-format.txt
  2. +1 −3 src/ui/theme-parser.c
@@ -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
========================================

@@ -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"
@@ -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)
{

0 comments on commit a6f9462

Please sign in to comment.
You can’t perform that action at this time.