From dad2bf53f8b11bff4fbd6af35c8ad9860affe684 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 13 Apr 2024 12:38:36 +0100 Subject: [PATCH] event: fix window damage tracking Signed-off-by: Yuxuan Shui --- src/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.c b/src/event.c index e5621e43..83e948b8 100644 --- a/src/event.c +++ b/src/event.c @@ -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); }