From 6a9ca17814bfe5aecf876921719ae5187a1f5158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 28 Oct 2016 02:56:28 +0200 Subject: [PATCH] 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 --- src/ui/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,