`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
parent d3efb0b29b
commit 2c9423d1b7
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
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;
} }