dwl

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

commit f3c4f723147b40fb1284083f3d7dac988c52d162
parent 6cbf8e9b80d8be140bd4a71268b483ac1b5c9d5f
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date:   Mon,  1 Jan 2024 00:51:01 -0600

fix posible NULL-dereference in wl_surface.commit handler

Diffstat:
Mdwl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwl.c b/dwl.c @@ -731,7 +731,7 @@ commitnotify(struct wl_listener *listener, void *data) { Client *c = wl_container_of(listener, c, commit); - if (client_surface(c)->mapped) + if (client_surface(c)->mapped && c->mon) resize(c, c->geom, (c->isfloating && !c->isfullscreen)); /* mark a pending resize as completed */