raveit65 cd0a805
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
raveit65 cd0a805
index dbd7bd9..9bf9d8d 100644
raveit65 cd0a805
--- a/src/compositor/compositor-xrender.c
raveit65 cd0a805
+++ b/src/compositor/compositor-xrender.c
raveit65 cd0a805
@@ -911,6 +911,12 @@ window_has_shadow (MetaCompWindow *cw)
raveit65 cd0a805
       }
raveit65 cd0a805
     }
raveit65 cd0a805
 
raveit65 cd0a805
+  /* Do not add shadows to ARGB windows */
raveit65 cd0a805
+  if (cw->mode == WINDOW_ARGB) {
raveit65 cd0a805
+    meta_verbose ("Window has no shadow as it is ARGB\n");
raveit65 cd0a805
+    return FALSE;
raveit65 cd0a805
+  }
raveit65 cd0a805
+
raveit65 cd0a805
   /* Never put a shadow around shaped windows */
raveit65 cd0a805
   if (cw->shaped) {
raveit65 cd0a805
     meta_verbose ("Window has no shadow as it is shaped\n");