From 6a41bebfa52f1b8ac83278f4caa05133cbce2088 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 30 Sep 2018 20:12:06 +0100 Subject: [PATCH] Just clear shadow anyways Signed-off-by: Yuxuan Shui --- src/compton.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compton.c b/src/compton.c index 17424bd9..fc032a0b 100644 --- a/src/compton.c +++ b/src/compton.c @@ -1796,8 +1796,7 @@ paint_all(session_t *ps, region_t *region, const region_t *region_real, win * co // Mask out the body of the window from the shadow // Doing it here instead of in make_shadow() for saving GPU // power and handling shaped windows (XXX unconfirmed) - if (w->mode != WMODE_SOLID) - pixman_region32_subtract(®_tmp, ®_tmp, &w->bounding_shape); + pixman_region32_subtract(®_tmp, ®_tmp, &w->bounding_shape); #ifdef CONFIG_XINERAMA if (ps->o.xinerama_shadow_crop && w->xinerama_scr >= 0)