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:
parent
d7fdbdc4f1
commit
dad2bf53f8
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ static inline void repair_win(session_t *ps, struct managed_win *w) {
|
||||||
pixman_region32_fini(&without_ignored);
|
pixman_region32_fini(&without_ignored);
|
||||||
|
|
||||||
pixman_region32_translate(&parts, -w->g.x, -w->g.y);
|
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);
|
pixman_region32_fini(&parts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue