mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 02:50:41 -05:00
theme: Update style classes to match CSD decorations
We currently use the "ssd" style class instead of "csd", so themes can avoid adding a window shadow to windows that already got a shadow from the compositor. Now that we no longer add a shadow to regular windows, we should ask for the appropriate style. https://bugzilla.gnome.org/show_bug.cgi?id=744667
This commit is contained in:
parent
42ecde5f38
commit
6a9ca17814
@ -1065,7 +1065,7 @@ meta_theme_create_style_info (GdkScreen *screen,
|
|||||||
provider,
|
provider,
|
||||||
"window",
|
"window",
|
||||||
GTK_STYLE_CLASS_BACKGROUND,
|
GTK_STYLE_CLASS_BACKGROUND,
|
||||||
"ssd",
|
"csd",
|
||||||
NULL);
|
NULL);
|
||||||
style_info->styles[META_STYLE_ELEMENT_FRAME] =
|
style_info->styles[META_STYLE_ELEMENT_FRAME] =
|
||||||
create_style_context (META_TYPE_FRAMES,
|
create_style_context (META_TYPE_FRAMES,
|
||||||
|
Loading…
Reference in New Issue
Block a user