summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2016-10-28 02:56:28 +0200
committerFlorian Müllner <fmuellner@gnome.org>2016-10-28 17:10:57 +0200
commit6a9ca17814bfe5aecf876921719ae5187a1f5158 (patch)
tree3afb394598c26525a78799d1228acf5b68fa9714
parent42ecde5f38ed5a80a86511df33cec59932dd0f33 (diff)
downloadmutter-wip/fmuellner/gtk-shadows.tar.gz
theme: Update style classes to match CSD decorationswip/fmuellner/gtk-shadows
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
-rw-r--r--src/ui/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 7421fb9f4..1723982ec 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -1065,7 +1065,7 @@ meta_theme_create_style_info (GdkScreen *screen,
provider,
"window",
GTK_STYLE_CLASS_BACKGROUND,
- "ssd",
+ "csd",
NULL);
style_info->styles[META_STYLE_ELEMENT_FRAME] =
create_style_context (META_TYPE_FRAMES,