forked from mirror/dwl
resize clients on commit
Fixes: https://github.com/djpohly/dwl/issues/515
This reverts commit 4567979b16
.
This commit is contained in:
parent
2751a6195d
commit
32e66f4582
1 changed files with 3 additions and 0 deletions
3
dwl.c
3
dwl.c
|
@ -738,6 +738,9 @@ commitnotify(struct wl_listener *listener, void *data)
|
|||
{
|
||||
Client *c = wl_container_of(listener, c, commit);
|
||||
|
||||
if (client_surface(c)->mapped)
|
||||
resize(c, c->geom, (c->isfloating && !c->isfullscreen));
|
||||
|
||||
/* mark a pending resize as completed */
|
||||
if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
|
||||
c->resize = 0;
|
||||
|
|
Loading…
Reference in a new issue