summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2018-05-02 14:52:39 +0200
committerraveit65 <[email protected]>2018-05-02 17:54:39 +0200
commit809853270aa0157afed0ee502e7efb00e450824c (patch)
tree77c4a3e8095c42ba0d111af96dc423d40474ea99
parentb2ae7564f77a3e8f2db8897e79eecd1d41eb4a80 (diff)
downloadmate-themes-809853270aa0157afed0ee502e7efb00e450824c.tar.bz2
mate-themes-809853270aa0157afed0ee502e7efb00e450824c.tar.xz
Fix more HighContrast themes visibility with metacity
This completes cf0a970 ("Fix HighContrast themes visibility with metacity"). When maximized windows are rendered with metacity (e.g. with metacity-theme-viewer), the back background parts of HighContrast and HighContrastInverse actually show up transparent. This is because the maximized_unfocused and maximized_focused styles do not use the proper focus draw_ops like normal_focused and normal_unfocused.
-rw-r--r--desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml4
-rw-r--r--marco-themes/HighContrast/metacity-theme-1.xml4
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml b/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml
index d2fd4c33..3cc1bb99 100644
--- a/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml
+++ b/desktop-themes/HighContrastInverse/metacity-1/metacity-theme-1.xml
@@ -279,13 +279,13 @@
</frame_style>
<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
- <piece position="entire_background" draw_ops="blank"/>
+ <piece position="entire_background" draw_ops="background_unfocused"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
- <piece position="entire_background" draw_ops="focus_outline"/>
+ <piece position="entire_background" draw_ops="focus_background"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
diff --git a/marco-themes/HighContrast/metacity-theme-1.xml b/marco-themes/HighContrast/metacity-theme-1.xml
index 9c57a117..d1a26cce 100644
--- a/marco-themes/HighContrast/metacity-theme-1.xml
+++ b/marco-themes/HighContrast/metacity-theme-1.xml
@@ -294,13 +294,13 @@
</frame_style>
<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
- <piece position="entire_background" draw_ops="blank"/>
+ <piece position="entire_background" draw_ops="background_unfocused"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
- <piece position="entire_background" draw_ops="focus_outline"/>
+ <piece position="entire_background" draw_ops="focus_background"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>