dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 32e66f45827cc8016ca2cef65ba61840f43fcc85
parent 2751a6195d5b659c8538b2b16fa157e7b920c8c3
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date:   Tue, 21 Nov 2023 19:20:49 -0600

resize clients on commit

Fixes: https://github.com/djpohly/dwl/issues/515
This reverts commit 4567979b16b0509bb80b6102ecb9b601b3cf6fa1.

Diffstat:
Mdwl.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/dwl.c b/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;