~ruther/dwl

f173c56c320a57e76a6bee578c3b9365f3a83950 — Leonardo Hernández Hernández 2 years ago 28af37c
initialize to zero the box used in commitnotify()
1 files changed, 1 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -1
@@ 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

Do not follow this link