aboutsummaryrefslogtreecommitdiff
path: root/src/picom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/picom.c')
-rw-r--r--src/picom.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/picom.c b/src/picom.c
index 08a671a..727896f 100644
--- a/src/picom.c
+++ b/src/picom.c
@@ -835,10 +835,11 @@ paint_preprocess(session_t *ps, bool *fade_running, bool *animation_running) {
if (size_changed) {
win_on_win_size_change(ps, w);
- pixman_region32_clear(&w->bounding_shape);
- pixman_region32_fini(&w->bounding_shape);
- pixman_region32_init_rect(&w->bounding_shape, 0, 0,
- (uint)w->widthb, (uint)w->heightb);
+ // pixman_region32_clear(&w->bounding_shape);
+ // pixman_region32_fini(&w->bounding_shape);
+ // pixman_region32_init_rect(&w->bounding_shape, 0, 0,
+ // (uint)w->widthb, (uint)w->heightb);
+ win_update_bounding_shape(ps, w);
if (w->state != WSTATE_DESTROYING)
win_clear_flags(w, WIN_FLAGS_PIXMAP_STALE);