diff options
author | Samuel Thibault <[email protected]> | 2018-05-02 14:52:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-05-02 17:54:39 +0200 |
commit | 809853270aa0157afed0ee502e7efb00e450824c (patch) | |
tree | 77c4a3e8095c42ba0d111af96dc423d40474ea99 /marco-themes/HighContrast | |
parent | b2ae7564f77a3e8f2db8897e79eecd1d41eb4a80 (diff) | |
download | mate-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.
Diffstat (limited to 'marco-themes/HighContrast')
-rw-r--r-- | marco-themes/HighContrast/metacity-theme-1.xml | 4 |
1 files changed, 2 insertions, 2 deletions
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> |