wlr_xdg_surface.configure_serial
has been moved into wlr_xdg_surface_state
as seen in swaywm/wlroots@0e34208
This commit is contained in:
parent
d3efb0b29b
commit
2c9423d1b7
2
dwl.c
2
dwl.c
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue