1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-10-27 05:24:17 -04:00

event: fix window damage tracking

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-04-13 12:38:36 +01:00
parent d7fdbdc4f1
commit dad2bf53f8
No known key found for this signature in database
GPG key ID: D3A4405BE6CC17F4

View file

@ -714,7 +714,7 @@ static inline void repair_win(session_t *ps, struct managed_win *w) {
pixman_region32_fini(&without_ignored);
pixman_region32_translate(&parts, -w->g.x, -w->g.y);
pixman_region32_copy(&w->damaged, &parts);
pixman_region32_union(&w->damaged, &w->damaged, &parts);
pixman_region32_fini(&parts);
}