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
parent d3efb0b29b
commit 2c9423d1b7
Failed to generate hash of commit

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;
} }