mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 19:26:32 +00:00
only mark pending resizes as completed checking the configure serial
This commit is contained in:
parent
05f4e23c43
commit
5347ed663d
1 changed files with 1 additions and 3 deletions
4
dwl.c
4
dwl.c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue