From 6ca011430a18980f12f7314cdeeff36051268a67 Mon Sep 17 00:00:00 2001
From: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date: Wed, 21 Dec 2022 14:28:27 -0600
Subject: do not skip frames if a client is stopped and have a pending resize

---
 dwl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'dwl.c')

diff --git a/dwl.c b/dwl.c
index 8a21342..43603db 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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;
-- 
cgit v1.2.3