schedule an output frame after a suface acking a configure

this to make sure the change of `c->resize` is taken into account
This commit is contained in:
Leonardo Hernández Hernández 2022-12-09 21:22:32 -06:00
parent ce2aec0a0d
commit df30c952b3
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

5
dwl.c
View File

@ -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