mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-12-16 18:03:19 +00:00
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:
parent
ce2aec0a0d
commit
df30c952b3
5
dwl.c
5
dwl.c
@ -412,8 +412,11 @@ ackconfigurenotify(struct wl_listener *listener, void *data)
|
|||||||
struct wlr_xdg_surface_configure *configure = data;
|
struct wlr_xdg_surface_configure *configure = data;
|
||||||
|
|
||||||
/* mark a pending resize as completed */
|
/* mark a pending resize as completed */
|
||||||
if (c->resize <= configure->serial)
|
if (c->resize <= configure->serial) {
|
||||||
c->resize = 0;
|
c->resize = 0;
|
||||||
|
if (VISIBLEON(c, c->mon))
|
||||||
|
wlr_output_schedule_frame(c->mon->wlr_output);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user