mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
fix: only current monitor frame event to flush animaiton
This commit is contained in:
parent
1129be616d
commit
5d2d5f7b2f
1 changed files with 2 additions and 0 deletions
2
maomao.c
2
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue