do not skip frames if a client is stopped and have a pending resize

This commit is contained in:
Leonardo Hernández Hernández
2022-12-21 14:28:27 -06:00
parent 7eaa01ac1f
commit 6ca011430a
2 changed files with 27 additions and 1 deletions

2
dwl.c
View File

@@ -1836,7 +1836,7 @@ rendermon(struct wl_listener *listener, void *data)
/* Render if no XDG clients have an outstanding resize and are visible on
* this monitor. */
wl_list_for_each(c, &clients, link)
if (client_is_rendered_on_mon(c, m) && (!c->isfloating && c->resize))
if (client_is_rendered_on_mon(c, m) && (!c->isfloating && c->resize) && !client_is_stopped(c))
goto skip;
if (!wlr_scene_output_commit(m->scene_output))
return;