mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
fix: flash when tagin
due to only current mon frame event trigger flush
This commit is contained in:
parent
c8f6ed89bb
commit
6a08dc117e
1 changed files with 0 additions and 2 deletions
2
maomao.c
2
maomao.c
|
|
@ -4267,12 +4267,10 @@ void rendermon(struct wl_listener *listener, void *data) {
|
||||||
|
|
||||||
// Draw frames for all clients
|
// Draw frames for all clients
|
||||||
wl_list_for_each(c, &clients, link) {
|
wl_list_for_each(c, &clients, link) {
|
||||||
if(c->mon != m) continue;
|
|
||||||
need_more_frames = client_draw_frame(c) || need_more_frames;
|
need_more_frames = client_draw_frame(c) || need_more_frames;
|
||||||
}
|
}
|
||||||
|
|
||||||
wl_list_for_each_safe(c, tmp, &fadeout_clients, fadeout_link) {
|
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;
|
need_more_frames = client_draw_fadeout_frame(c) || need_more_frames;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue