<feed xmlns='http://www.w3.org/2005/Atom'>
<title>marco/doc/theme-format.txt, branch double-tile-resize</title>
<subtitle>MATE default window manager</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/'/>
<entry>
<title>theme: revert theme format version 3.6</title>
<updated>2018-08-29T16:52:28+00:00</updated>
<author>
<name>Alberts Muktupāvels</name>
<email>alberts.muktupavels@gmail.com</email>
</author>
<published>2016-01-28T15:21:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=a6f9462029e7395c778a6aef9e9e1c5b2452bdda'/>
<id>a6f9462029e7395c778a6aef9e9e1c5b2452bdda</id>
<content type='text'>
Shadow and padding was never part of theme. This format was created by
mutter, and it is an incompatible change.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Shadow and padding was never part of theme. This format was created by
mutter, and it is an incompatible change.
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: add info for 3.5 and 3.6 theme format versions</title>
<updated>2018-08-29T16:49:21+00:00</updated>
<author>
<name>Alberts Muktupāvels</name>
<email>alberts.muktupavels@gmail.com</email>
</author>
<published>2015-01-18T14:17:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=fbae49d4a77217289d460fcc284a19f17079c586'/>
<id>fbae49d4a77217289d460fcc284a19f17079c586</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>theme: Allow using custom colors from the GTK+ theme</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Florian Müllner</name>
<email>fmuellner@gnome.org</email>
</author>
<published>2014-09-27T15:25:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=18bfff32531e13d18c53f9a990fdf48a2cd52673'/>
<id>18bfff32531e13d18c53f9a990fdf48a2cd52673</id>
<content type='text'>
Add an additional color type to pick up colors defined with
@define-color in the GTK+ theme's CSS:

  gtk:custom(name,fallback)

(where "name" refers to the name defined in GTK+'s CSS, and fallback
refers to an alternative color spec which is used when the color
referenced by "name" is not found)

The main intent of the change is to allow designers to improve
Adwaita's dark theme variant without having to compromise on colors
which work in the light variant as well.

https://bugzilla.gnome.org/show_bug.cgi?id=648709

NOTE: Patch copied from mutter and adapted for metacity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an additional color type to pick up colors defined with
@define-color in the GTK+ theme's CSS:

  gtk:custom(name,fallback)

(where "name" refers to the name defined in GTK+'s CSS, and fallback
refers to an alternative color spec which is used when the color
referenced by "name" is not found)

The main intent of the change is to allow designers to improve
Adwaita's dark theme variant without having to compromise on colors
which work in the light variant as well.

https://bugzilla.gnome.org/show_bug.cgi?id=648709

NOTE: Patch copied from mutter and adapted for metacity.
</pre>
</div>
</content>
</entry>
<entry>
<title>theme: Add tiled_left/tiled_right frame states</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Florian Müllner</name>
<email>fmuellner@gnome.org</email>
</author>
<published>2014-09-27T15:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=ed5eff6a2bf4a0d0a70d526726116d02442fdbac'/>
<id>ed5eff6a2bf4a0d0a70d526726116d02442fdbac</id>
<content type='text'>
It may be desirable for theme authors to treat side-by-side tiled
windows differently, for instance to give the edge-touching border
a width of 0, so add additional frame states for tiled windows.

https://bugzilla.gnome.org/show_bug.cgi?id=637330

NOTE: Patch copied from mutter and adapted for metacity. This adds
only description in doc/theme-format.txt as all other changes has
been added already.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It may be desirable for theme authors to treat side-by-side tiled
windows differently, for instance to give the edge-touching border
a width of 0, so add additional frame states for tiled windows.

https://bugzilla.gnome.org/show_bug.cgi?id=637330

NOTE: Patch copied from mutter and adapted for metacity. This adds
only description in doc/theme-format.txt as all other changes has
been added already.
</pre>
</div>
</content>
</entry>
<entry>
<title>theme: Add background functions for single buttons</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Florian Müllner</name>
<email>fmuellner@gnome.org</email>
</author>
<published>2014-09-27T15:04:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=997488f903cef76143e5b0f19a906cbb549d5761'/>
<id>997488f903cef76143e5b0f19a906cbb549d5761</id>
<content type='text'>
With the existing background functions, single buttons can not be
styled separately - on the left side, the style of the left button
is picked, and the right button's style on the right side.

As theme authors may want to add rounded corners to button groups
as a whole, it makes sense to treat the case of a single button in
a group differently.

https://bugzilla.gnome.org/show_bug.cgi?id=635683

NOTE: Patch copied from mutter and adapted for metacity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the existing background functions, single buttons can not be
styled separately - on the left side, the style of the left button
is picked, and the right button's style on the right side.

As theme authors may want to add rounded corners to button groups
as a whole, it makes sense to treat the case of a single button in
a group differently.

https://bugzilla.gnome.org/show_bug.cgi?id=635683

NOTE: Patch copied from mutter and adapted for metacity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add frame type for attached modal dialogs</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Owen W. Taylor</name>
<email>otaylor@fishsoup.net</email>
</author>
<published>2014-09-27T14:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=c9c3f858e28edf0856a263941007401923adbabd'/>
<id>c9c3f858e28edf0856a263941007401923adbabd</id>
<content type='text'>
Add a new frame type META_FRAME_TYPE_ATTACHED which is used for
attached modal dialogs.

The theme format version is bumped to 3.2, and attached windows
can have borders defined in a metacity-theme-3.xml as:

 &lt;window version="&gt;= 3.2" type="attached" style_set="[name]"/&gt;

If no style is defined for "attached", drawing will fall back
to the "border" type.

https://bugzilla.gnome.org/show_bug.cgi?id=592382

NOTE: Patch copied from mutter and adapted for metacity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new frame type META_FRAME_TYPE_ATTACHED which is used for
attached modal dialogs.

The theme format version is bumped to 3.2, and attached windows
can have borders defined in a metacity-theme-3.xml as:

 &lt;window version="&gt;= 3.2" type="attached" style_set="[name]"/&gt;

If no style is defined for "attached", drawing will fall back
to the "border" type.

https://bugzilla.gnome.org/show_bug.cgi?id=592382

NOTE: Patch copied from mutter and adapted for metacity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow a theme to specify ellipsize width for a title</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Owen W. Taylor</name>
<email>otaylor@fishsoup.net</email>
</author>
<published>2014-09-27T13:47:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=a47f178df47ae26bf080b5c4f34762102c58085e'/>
<id>a47f178df47ae26bf080b5c4f34762102c58085e</id>
<content type='text'>
It's nice to indicate when a title is truncated with an ellipsis.
Because themes may draw a title multiple times to draw a shadow, or
may include the window icon within the title area, we can't determine
the proper ellipsization width automatically, so add an optional
attribute to the &lt;title/&gt; element "ellipsize_width" which, if set,
is the width to ellipsize at.

This is only enabled if a theme version of 3.1 is required.

When it's not set, we keep the old behavior of just letting the
title be clipped with a hard edge.

https://bugzilla.gnome.org/show_bug.cgi?id=591842

NOTE: Patch copied from mutter and adapted for metacity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's nice to indicate when a title is truncated with an ellipsis.
Because themes may draw a title multiple times to draw a shadow, or
may include the window icon within the title area, we can't determine
the proper ellipsization width automatically, so add an optional
attribute to the &lt;title/&gt; element "ellipsize_width" which, if set,
is the width to ellipsize at.

This is only enabled if a theme version of 3.1 is required.

When it's not set, we keep the old behavior of just letting the
title be clipped with a hard edge.

https://bugzilla.gnome.org/show_bug.cgi?id=591842

NOTE: Patch copied from mutter and adapted for metacity.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add frame_x_center/frame_y_center variables for themes</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Owen W. Taylor</name>
<email>otaylor@fishsoup.net</email>
</author>
<published>2014-09-27T13:21:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=728f0022b1b5b75a289abf8f3acec43378c06d92'/>
<id>728f0022b1b5b75a289abf8f3acec43378c06d92</id>
<content type='text'>
Sometimes you want to position something (usually the title) to be centered
with respect to the entire frame instead of centered with respect to the
individual piece currently being drawn.

This patch adds frame_x_center and frame_y_center variables that represent
the X/Y centers of the frame in the coordinate system of the piece being
drawn.

The theme version is bumped from 3.0 to 3.1 (3.0 is just the new version
system, 3.1 will have all the features we add for Mutter-2.28.)
position expressions

https://bugzilla.gnome.org/show_bug.cgi?id=591842

NOTE: Patch is copied from mutter and is adapted for metacity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes you want to position something (usually the title) to be centered
with respect to the entire frame instead of centered with respect to the
individual piece currently being drawn.

This patch adds frame_x_center and frame_y_center variables that represent
the X/Y centers of the frame in the coordinate system of the piece being
drawn.

The theme version is bumped from 3.0 to 3.1 (3.0 is just the new version
system, 3.1 will have all the features we add for Mutter-2.28.)
position expressions

https://bugzilla.gnome.org/show_bug.cgi?id=591842

NOTE: Patch is copied from mutter and is adapted for metacity.
</pre>
</div>
</content>
</entry>
<entry>
<title>metacity-theme-3.xml: Add a flexible version mechanism</title>
<updated>2018-08-28T13:38:37+00:00</updated>
<author>
<name>Owen W. Taylor</name>
<email>otaylor@fishsoup.net</email>
</author>
<published>2014-09-27T13:10:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=ed3004dfddea34ccb733343954bf63f55cd357ac'/>
<id>ed3004dfddea34ccb733343954bf63f55cd357ac</id>
<content type='text'>
The current mechanism of metacity-theme-1.xml and metacity-theme-2.xml
is not flexible for allowing small-scale additions. With this patch
we bump the major version version once more to metacity-theme-3.xml
and add a single feature:

Any element in the DTD can have an attribute:

 version="[&lt;|&lt;=|=&gt;|&gt;] MAJOR.MINOR"

And it will be ignored unless the predicate is met. (&lt; and &gt; should
be to be entity escaped as &amp;lt; and &amp;gt;)

This allows having alternate sections of the theme file for older and
newer version.

* Required GLib version is bumped to 2.14 so we can parse versions
  with a regular expression.

* We switch internal version numbers to be "1000 * major + minor"

* We keep a stack of the maximum required version for the current portion
  the XML tree so that the "cannot use versions you don't require" stricture
  of the old code can be made local to a subpart of the tree.

* A version on the top metacity_theme element causes the entire file to
  be ignored; this allows having one metacity-theme-3.xml for version 3.2
  and newer (say) and a metacity-1.xml for everything old.

Actual new features will be added starting with 3.1 - 3.0 is just the
version="" feature.

http://bugzilla.gnome.org/show_bug.cgi?id=592503

NOTE: Patch is copied from mutter and adapted for metacity.

origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/114a2048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current mechanism of metacity-theme-1.xml and metacity-theme-2.xml
is not flexible for allowing small-scale additions. With this patch
we bump the major version version once more to metacity-theme-3.xml
and add a single feature:

Any element in the DTD can have an attribute:

 version="[&lt;|&lt;=|=&gt;|&gt;] MAJOR.MINOR"

And it will be ignored unless the predicate is met. (&lt; and &gt; should
be to be entity escaped as &amp;lt; and &amp;gt;)

This allows having alternate sections of the theme file for older and
newer version.

* Required GLib version is bumped to 2.14 so we can parse versions
  with a regular expression.

* We switch internal version numbers to be "1000 * major + minor"

* We keep a stack of the maximum required version for the current portion
  the XML tree so that the "cannot use versions you don't require" stricture
  of the old code can be made local to a subpart of the tree.

* A version on the top metacity_theme element causes the entire file to
  be ignored; this allows having one metacity-theme-3.xml for version 3.2
  and newer (say) and a metacity-1.xml for everything old.

Actual new features will be added starting with 3.1 - 3.0 is just the
version="" feature.

http://bugzilla.gnome.org/show_bug.cgi?id=592503

NOTE: Patch is copied from mutter and adapted for metacity.

origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/114a2048
</pre>
</div>
</content>
</entry>
<entry>
<title>moving from https://github.com/perberos/mate-desktop-environment</title>
<updated>2011-12-02T02:52:01+00:00</updated>
<author>
<name>Perberos</name>
<email>perberos@gmail.com</email>
</author>
<published>2011-12-02T02:52:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/marco/commit/?id=28a029a4990d2a84f9d6a0b890eba812ea503998'/>
<id>28a029a4990d2a84f9d6a0b890eba812ea503998</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
