[marco] git add marco_rendering-with-gtk3.14.patch

Wolfgang Ulbrich raveit65 at fedoraproject.org
Tue Oct 21 17:44:04 UTC 2014


commit cd0a80558489bc8c964ade6f2610937819d7a5d1
Author: raveit65 <chat-to-me at raveit.de>
Date:   Tue Oct 21 19:43:57 2014 +0200

    git add marco_rendering-with-gtk3.14.patch

 marco_rendering-with-gtk3.14.patch |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/marco_rendering-with-gtk3.14.patch b/marco_rendering-with-gtk3.14.patch
new file mode 100644
index 0000000..bc3c4e0
--- /dev/null
+++ b/marco_rendering-with-gtk3.14.patch
@@ -0,0 +1,17 @@
+diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
+index dbd7bd9..9bf9d8d 100644
+--- a/src/compositor/compositor-xrender.c
++++ b/src/compositor/compositor-xrender.c
+@@ -911,6 +911,12 @@ window_has_shadow (MetaCompWindow *cw)
+       }
+     }
+ 
++  /* Do not add shadows to ARGB windows */
++  if (cw->mode == WINDOW_ARGB) {
++    meta_verbose ("Window has no shadow as it is ARGB\n");
++    return FALSE;
++  }
++
+   /* Never put a shadow around shaped windows */
+   if (cw->shaped) {
+     meta_verbose ("Window has no shadow as it is shaped\n");


More information about the scm-commits mailing list