`wlr_xdg_surface.configure_serial` has been moved into `wlr_xdg_surface_state`

as seen in swaywm/wlroots@0e34208
main
Leonardo Hernandez Hernandez 2021-10-03 22:08:00 -05:00 committed by Devin J. Pohly
parent 852fe819c4
commit 52dbc97ed6
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -779,7 +779,7 @@ commitnotify(struct wl_listener *listener, void *data)
Client *c = wl_container_of(listener, c, commit); Client *c = wl_container_of(listener, c, commit);
/* mark a pending resize as completed */ /* 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; c->resize = 0;
} }