[mutter/wip/fmuellner/gtk-shadows: 8/8] theme: Update style classes to match CSD decorations



commit 6a9ca17814bfe5aecf876921719ae5187a1f5158
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Oct 28 02:56:28 2016 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index 7421fb9..1723982 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]