aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallusive-dev <[email protected]>2023-11-02 08:01:27 +1100
committerallusive-dev <[email protected]>2023-11-02 08:01:27 +1100
commitf39fab07ba5adda7469c35d2a61ba6141d872e09 (patch)
tree18ab634a265d6c35b9fd85f3c73e9cddcb6c26cd
parentUpdate README.md (diff)
downloadcompfy-1.2.3.tar.xz
compfy-1.2.3.zip
Fixes for AwesomeWM1.2.3
-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);