From df30c952b3cf59db7ca3f0027dd40150cd2ac41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Fri, 9 Dec 2022 21:22:32 -0600 Subject: [PATCH] schedule an output frame after a suface acking a configure this to make sure the change of `c->resize` is taken into account --- dwl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index bdd8679..ac94035 100644 --- a/dwl.c +++ b/dwl.c @@ -412,8 +412,11 @@ ackconfigurenotify(struct wl_listener *listener, void *data) struct wlr_xdg_surface_configure *configure = data; /* mark a pending resize as completed */ - if (c->resize <= configure->serial) + if (c->resize <= configure->serial) { c->resize = 0; + if (VISIBLEON(c, c->mon)) + wlr_output_schedule_frame(c->mon->wlr_output); + } } void