summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernandez Hernandez <leohdz172@outlook.com>2021-10-03 22:08:00 -0500
committerDevin J. Pohly <djpohly@gmail.com>2021-12-16 11:49:57 -0600
commit52dbc97ed69f368e63fae57b028072f01d07ee7d (patch)
treee64dfe27c3bd03f13cbab688c0da232ba3e86e2d
parent852fe819c4a0e516135d1bfdd91de3cf60cb495d (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 5a525d5..f563fd3 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;
}