summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-10-03 22:08:00 -0500
committerLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-10-03 22:08:00 -0500
commit2c9423d1b7a387d63b07b96ecbda725f1e16002b (patch)
tree99320c0ee4b8f6dd16a8b51883771751c3571fcf
parentd3efb0b29bda112e61ce0cf81bb596aca97e0ee6 (diff)
`wlr_xdg_surface.configure_serial` has been moved into `wlr_xdg_surface_state`
as seen in swaywm/wlroots@0e34208
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 4a58770..868d57b 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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;
}