summaryrefslogtreecommitdiff
path: root/src/compositor/compositor-xrender.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor-xrender.c')
-rw-r--r--src/compositor/compositor-xrender.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index 13e8e620..f70432a7 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -1025,6 +1025,19 @@ window_has_shadow (MetaCompWindow *cw)
return FALSE;
}
+ /* Do not add shadows for left/right tiled windows */
+ if (meta_window_is_tiled_left (cw->window))
+ {
+ meta_verbose ("Window has no shadow because it is tiled left\n");
+ return FALSE;
+ }
+
+ if (meta_window_is_tiled_right (cw->window))
+ {
+ meta_verbose ("Window has no shadow because it is tiled right\n");
+ return FALSE;
+ }
+
if (meta_window_get_frame (cw->window)) {
meta_verbose ("Window has shadow because it has a frame\n");
return TRUE;