[mutter/wip/fmuellner/attached-shadows] shadow-factory: Update shadow of attached modals



commit a76fee38575e127b54c84ef8a690d673fc3e4ba6
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Mar 6 23:31:43 2019 +0100

    shadow-factory: Update shadow of attached modals
    
    When commit 91c6a144da synced shadows with Adwaita, it removed the
    shadow completely from attached modal dialogs. However Adwaita uses
    the same shadow for all dialogs (modal or not), so do the same here.
    
    https://gitlab.gnome.org/GNOME/mutter/issues/490

 src/compositor/meta-shadow-factory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/compositor/meta-shadow-factory.c b/src/compositor/meta-shadow-factory.c
index 9fdecacde..0eb14c981 100644
--- a/src/compositor/meta-shadow-factory.c
+++ b/src/compositor/meta-shadow-factory.c
@@ -128,7 +128,7 @@ MetaShadowClassInfo default_shadow_classes[] = {
   { "popup-menu",    { 1, -1, 0, 0, 128 }, { 1, -1, 0, 0, 128 } },
   { "dropdown-menu", { 1, -1, 0, 0, 128 }, { 1, -1, 0, 0, 128 } },
 
-  { "attached",      { 0, -1, 0, 0, 0 }, { 0, -1, 0, 0, 0 } }
+  { "attached",      { 10, -1, 0, 3, 128 }, { 8, -1, 0, 2, 64 } }
 };
 
 G_DEFINE_TYPE (MetaShadowFactory, meta_shadow_factory, G_TYPE_OBJECT);


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