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:
Florian Müllner 2016-10-28 02:56:28 +02:00
parent 42ecde5f38
commit 6a9ca17814

View File

@ -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,