diff options
author | raveit65 <[email protected]> | 2017-12-25 18:50:28 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-12-25 18:50:28 +0100 |
commit | bff1ca66311c1a3ccdb1059be8869e07b3b60460 (patch) | |
tree | 222979c4e36c7b1506604bead8006610d1a39c8c | |
parent | a681b52bbbd265dd63c9fd090c1c108bd64af55b (diff) | |
download | mate-themes-bff1ca66311c1a3ccdb1059be8869e07b3b60460.tar.bz2 mate-themes-bff1ca66311c1a3ccdb1059be8869e07b3b60460.tar.xz |
Menta metacity themes: remove left/right-border for maximised windows
Partially fix for
https://github.com/mate-desktop/mate-desktop/issues/291
-rw-r--r-- | desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml | 16 | ||||
-rw-r--r-- | desktop-themes/Menta/metacity-1/metacity-theme-2.xml | 16 |
2 files changed, 12 insertions, 20 deletions
diff --git a/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml b/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml index e84a3ff5..eaf534f5 100644 --- a/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml +++ b/desktop-themes/BlueMenta/metacity-1/metacity-theme-2.xml @@ -39,16 +39,16 @@ </frame_geometry> <frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> - <distance name="left_width" value="1" /> - <distance name="right_width" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> <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"/> <!-- + <distance name="left_titlebar_edge" value="5"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="title_vertical_pad" value="8"/> <!-- This needs to be 1 less then the title_vertical_pad on normal state or you'll have bigger buttons --> - <border name="title_border" left="10" right="10" top="1" bottom="2"/> + <border name="title_border" left="10" right="10" top="2" bottom="2"/> <border name="button_border" left="0" right="0" top="0" bottom="2"/> </frame_geometry> @@ -252,15 +252,11 @@ <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--> diff --git a/desktop-themes/Menta/metacity-1/metacity-theme-2.xml b/desktop-themes/Menta/metacity-1/metacity-theme-2.xml index de687cc6..a0cf88a8 100644 --- a/desktop-themes/Menta/metacity-1/metacity-theme-2.xml +++ b/desktop-themes/Menta/metacity-1/metacity-theme-2.xml @@ -39,16 +39,16 @@ </frame_geometry> <frame_geometry name="max" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false"> - <distance name="left_width" value="1" /> - <distance name="right_width" value="1" /> + <distance name="left_width" value="0" /> + <distance name="right_width" value="0" /> <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"/> <!-- + <distance name="left_titlebar_edge" value="5"/> + <distance name="right_titlebar_edge" value="0"/> + <distance name="title_vertical_pad" value="8"/> <!-- This needs to be 1 less then the title_vertical_pad on normal state or you'll have bigger buttons --> - <border name="title_border" left="10" right="10" top="1" bottom="2"/> + <border name="title_border" left="10" right="10" top="2" bottom="2"/> <border name="button_border" left="0" right="0" top="0" bottom="2"/> </frame_geometry> @@ -252,15 +252,11 @@ <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--> |