wlr_xdg_surface.configure_serial has been moved into wlr_xdg_surface_state

as seen in swaywm/wlroots@0e34208
This commit is contained in:
Leonardo Hernandez Hernandez 2021-10-03 22:08:00 -05:00 committed by Devin J. Pohly
parent 852fe819c4
commit 52dbc97ed6

2
dwl.c
View file

@ -779,7 +779,7 @@ commitnotify(struct wl_listener *listener, void *data)
Client *c = wl_container_of(listener, c, commit);
/* mark a pending resize as completed */
if (c->resize && c->resize <= c->surface.xdg->configure_serial)
if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
c->resize = 0;
}