also skip frames if a floating client has a pending resize

This commit is contained in:
Leonardo Hernández Hernández 2024-06-22 12:13:28 -06:00
parent 4a7d1bebf5
commit c4d3a497c6
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

2
dwl.c
View File

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