[mutter/wip/fmuellner/gtk-shadows: 7/8] window-actor: Stop adding shadows to windows with frames
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/fmuellner/gtk-shadows: 7/8] window-actor: Stop adding shadows to windows with frames
- Date: Fri, 28 Oct 2016 15:13:49 +0000 (UTC)
commit 42ecde5f38ed5a80a86511df33cec59932dd0f33
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Jul 21 00:37:11 2016 +0200
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 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index bf22d2b..4782392 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]