diff --git a/dwl.c b/dwl.c index a03935c..c9dcc86 100644 --- a/dwl.c +++ b/dwl.c @@ -782,9 +782,7 @@ commitnotify(struct wl_listener *listener, void *data) arrange(c->mon); /* mark a pending resize as completed */ - if (c->resize && (c->resize <= c->surface.xdg->current.configure_serial - || (c->surface.xdg->current.geometry.width == c->surface.xdg->pending.geometry.width - && c->surface.xdg->current.geometry.height == c->surface.xdg->pending.geometry.height))) + if (c->resize && c->resize <= c->surface.xdg->current.configure_serial) c->resize = 0; }