dwl

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

commit f173c56c320a57e76a6bee578c3b9365f3a83950
parent 28af37cd1f6dce140df8e99659d0af07dc1d9985
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date:   Sat, 13 Aug 2022 00:07:11 -0500

initialize to zero the box used in commitnotify()

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

diff --git a/dwl.c b/dwl.c @@ -793,7 +793,7 @@ void commitnotify(struct wl_listener *listener, void *data) { Client *c = wl_container_of(listener, c, commit); - struct wlr_box box; + struct wlr_box box = {0}; client_get_geometry(c, &box); if (c->mon && !wlr_box_empty(&box) && (box.width != c->geom.width - 2 * c->bw