From 42ecde5f38ed5a80a86511df33cec59932dd0f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 21 Jul 2016 00:37:11 +0200 Subject: [PATCH] window-actor: Stop adding shadows to windows with frames The frame decorations can pick up the shadow as defined by the GTK+ theme. https://bugzilla.gnome.org/show_bug.cgi?id=744667 --- src/compositor/meta-window-actor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index bf22d2bdc..4782392ac 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -857,11 +857,11 @@ meta_window_actor_has_shadow (MetaWindowActor *self) return FALSE; /* - * Always put a shadow around windows with a frame - This should override - * the restriction about not putting a shadow around ARGB windows. + * Do not put a shadow around windows with a frame - the decoration + * includes the shadow as defined by the GTK+ theme */ if (meta_window_get_frame (priv->window)) - return TRUE; + return FALSE; /* * Do not add shadows to non-opaque (ARGB32) windows, as we can't easily