From 5d2d5f7b2ffc6fa3ab459e1dcdd7d9f274816d41 Mon Sep 17 00:00:00 2001 From: DreamMaoMao <2523610504@qq.com> Date: Tue, 25 Mar 2025 10:23:07 +0800 Subject: [PATCH] fix: only current monitor frame event to flush animaiton --- maomao.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maomao.c b/maomao.c index ccdd1490..f336ea19 100644 --- a/maomao.c +++ b/maomao.c @@ -4253,10 +4253,12 @@ void rendermon(struct wl_listener *listener, void *data) { // Draw frames for all clients wl_list_for_each(c, &clients, link) { + if(c->mon != m) continue; need_more_frames = client_draw_frame(c) || need_more_frames; } wl_list_for_each_safe(c, tmp, &fadeout_clients, fadeout_link) { + if(c->mon != m) continue; need_more_frames = client_draw_fadeout_frame(c) || need_more_frames; }