diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-21 19:20:49 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-11-21 20:15:00 -0600 |
commit | 32e66f45827cc8016ca2cef65ba61840f43fcc85 (patch) | |
tree | 8f1a0d51777bfd43eb544373b0edf1bed0d8ccfb | |
parent | 2751a6195d5b659c8538b2b16fa157e7b920c8c3 (diff) |
resize clients on commit
Fixes: https://github.com/djpohly/dwl/issues/515
This reverts commit 4567979b16b0509bb80b6102ecb9b601b3cf6fa1.
-rw-r--r-- | dwl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; |