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
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);
|
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 */
|
/* mark a pending resize as completed */
|
||||||
if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
|
if (c->resize && c->resize <= c->surface.xdg->current.configure_serial)
|
||||||
c->resize = 0;
|
c->resize = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user