diff options
author | Samuel Thibault <[email protected]> | 2018-05-02 14:52:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-05-02 17:41:36 +0200 |
commit | 595d9a6c8cf71f2002bb6c3ec27ad95263e6a871 (patch) | |
tree | 71b78d68bf59d8afc2d8a9ca010e20ca38ddb840 | |
parent | e71b9f720c88840461c427ff92a372eb4ad7c97e (diff) | |
download | mate-themes-595d9a6c8cf71f2002bb6c3ec27ad95263e6a871.tar.bz2 mate-themes-595d9a6c8cf71f2002bb6c3ec27ad95263e6a871.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.xml | 4 | ||||
-rw-r--r-- | marco-themes/HighContrast/metacity-theme-1.xml | 4 |
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> |