Just clear shadow anyways
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
97cd3421b0
commit
6a41bebfa5
|
@ -1796,7 +1796,6 @@ 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
|
// Mask out the body of the window from the shadow
|
||||||
// Doing it here instead of in make_shadow() for saving GPU
|
// Doing it here instead of in make_shadow() for saving GPU
|
||||||
// power and handling shaped windows (XXX unconfirmed)
|
// 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
|
#ifdef CONFIG_XINERAMA
|
||||||
|
|
Loading…
Reference in New Issue