mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-06 07:15:31 -04:00
only mark pending resizes as completed checking the configure serial
This commit is contained in:
parent
1b5784eaaa
commit
dd5a0547c5
1 changed files with 1 additions and 3 deletions
4
dwl.c
4
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue