From 1700ae40bf661c8803ede1deee4c72bf703c72b5 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 b3f2d65e..18b83298 100644 --- a/maomao.c +++ b/maomao.c @@ -4266,10 +4266,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; }