summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-09-25 10:23:17 +0200
committerraveit65 <[email protected]>2016-09-25 10:25:33 +0200
commitfca7c933593bee6715606cb371b810729b4522aa (patch)
tree7b0ff6f5e96ad1cccd61281334971dbb7d3d9c45 /desktop-themes
parent2c88c525b19dffb662887db973e60a2e92a27696 (diff)
downloadmate-themes-fca7c933593bee6715606cb371b810729b4522aa.tar.bz2
mate-themes-fca7c933593bee6715606cb371b810729b4522aa.tar.xz
metacity Menta themes: draw a thin black border line for maximize windows
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml22
-rw-r--r--desktop-themes/Menta/metacity-1/metacity-theme-2.xml22
2 files changed, 38 insertions, 6 deletions
diff --git a/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml b/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml
index 8f424ad3..dca46dc7 100644
--- a/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml
+++ b/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml
@@ -39,9 +39,9 @@
</frame_geometry>
<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
- <distance name="left_width" value="0" />
- <distance name="right_width" value="0" />
- <distance name="bottom_height" value="0" />
+ <distance name="left_width" value="1" />
+ <distance name="right_width" value="1" />
+ <distance name="bottom_height" value="1" />
<distance name="left_titlebar_edge" value="4"/>
<distance name="right_titlebar_edge" value="1"/>
<distance name="title_vertical_pad" value="9"/> <!--
@@ -249,6 +249,20 @@
color="C_border_unfocused" />
</draw_ops>
+<draw_ops name="max_border_focused">
+ <line color="C_border_focused" x1="0" y1="0" x2="width-1" y2="0" />
+ <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
+ <line color="C_border_focused" x1="0" y1="0" x2="0" y2="height-2" />
+ <line color="C_border_focused" x1="width-1" y1="0" x2="width-1" y2="height-2" />
+</draw_ops>
+
+<draw_ops name="max_border_unfocused">
+ <line color="C_border_unfocused" x1="0" y1="0" x2="width-1" y2="0" />
+ <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
+ <line color="C_border_unfocused" x1="0" y1="0" x2="0" y2="height-2" />
+ <line color="C_border_unfocused" x1="width-1" y1="0" x2="width-1" y2="height-2" />
+</draw_ops>
+
<!-- button icons-->
<draw_ops name="close_glyph_focused">
@@ -511,6 +525,7 @@
<piece position="entire_background" draw_ops="entire_background_focused" />
<piece position="titlebar" draw_ops="titlebar_fill_focused_alt" />
<piece position="title" draw_ops="title_focused" />
+ <piece position="overlay" draw_ops="max_border_focused" />
<button function="close" state="normal" draw_ops="close_focused" />
<button function="close" state="prelight" draw_ops="close_focused_prelight" />
<button function="close" state="pressed" draw_ops="close_focused_pressed" />
@@ -542,6 +557,7 @@
<piece position="entire_background" draw_ops="entire_background_unfocused" />
<piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
<piece position="title" draw_ops="title_unfocused" />
+ <piece position="overlay" draw_ops="max_border_unfocused" />
<button function="close" state="normal" draw_ops="close_unfocused"/>
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
diff --git a/desktop-themes/Menta/metacity-1/metacity-theme-2.xml b/desktop-themes/Menta/metacity-1/metacity-theme-2.xml
index b078105a..df0e5fa8 100644
--- a/desktop-themes/Menta/metacity-1/metacity-theme-2.xml
+++ b/desktop-themes/Menta/metacity-1/metacity-theme-2.xml
@@ -39,9 +39,9 @@
</frame_geometry>
<frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false">
- <distance name="left_width" value="0" />
- <distance name="right_width" value="0" />
- <distance name="bottom_height" value="0" />
+ <distance name="left_width" value="1" />
+ <distance name="right_width" value="1" />
+ <distance name="bottom_height" value="1" />
<distance name="left_titlebar_edge" value="4"/>
<distance name="right_titlebar_edge" value="1"/>
<distance name="title_vertical_pad" value="9"/> <!--
@@ -249,6 +249,20 @@
color="C_border_unfocused" />
</draw_ops>
+<draw_ops name="max_border_focused">
+ <line color="C_border_focused" x1="0" y1="0" x2="width-1" y2="0" />
+ <line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
+ <line color="C_border_focused" x1="0" y1="0" x2="0" y2="height-2" />
+ <line color="C_border_focused" x1="width-1" y1="0" x2="width-1" y2="height-2" />
+</draw_ops>
+
+<draw_ops name="max_border_unfocused">
+ <line color="C_border_unfocused" x1="0" y1="0" x2="width-1" y2="0" />
+ <line color="C_border_unfocused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
+ <line color="C_border_unfocused" x1="0" y1="0" x2="0" y2="height-2" />
+ <line color="C_border_unfocused" x1="width-1" y1="0" x2="width-1" y2="height-2" />
+</draw_ops>
+
<!-- button icons-->
<draw_ops name="close_glyph_focused">
@@ -511,6 +525,7 @@
<piece position="entire_background" draw_ops="entire_background_focused" />
<piece position="titlebar" draw_ops="titlebar_fill_focused_alt" />
<piece position="title" draw_ops="title_focused" />
+ <piece position="overlay" draw_ops="max_border_focused" />
<button function="close" state="normal" draw_ops="close_focused" />
<button function="close" state="prelight" draw_ops="close_focused_prelight" />
<button function="close" state="pressed" draw_ops="close_focused_pressed" />
@@ -542,6 +557,7 @@
<piece position="entire_background" draw_ops="entire_background_unfocused" />
<piece position="titlebar" draw_ops="titlebar_fill_unfocused" />
<piece position="title" draw_ops="title_unfocused" />
+ <piece position="overlay" draw_ops="max_border_unfocused" />
<button function="close" state="normal" draw_ops="close_unfocused"/>
<button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
<button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>