diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-30 14:14:06 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-12-30 14:14:06 -0600 |
commit | 5347ed663de57f624abe887dc761949eb7169986 (patch) | |
tree | 98e14fba802223bcc672ae38d3d24690a124dfcc | |
parent | 05f4e23c43aa0d6e8fb8673a3b0d71653dc6dbbd (diff) |
only mark pending resizes as completed checking the configure serial
-rw-r--r-- | dwl.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -766,9 +766,7 @@ commitnotify(struct wl_listener *listener, void *data) c->isfloating ? resize(c, c->geom, 1) : 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; } |