dwl

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

commit fc8b2a8335365dbf3966f0a9bb783a4cb33fdcbf
parent c00faae26370682c307cfb107b12123d10d49053
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date:   Mon, 26 Sep 2022 20:31:36 -0500

fix bad condition

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

diff --git a/dwl.c b/dwl.c @@ -2451,7 +2451,7 @@ urgent(struct wl_listener *listener, void *data) void view(const Arg *arg) { - if (selmon && (arg->ui & TAGMASK) == selmon->tagset[selmon->seltags]) + if (!selmon || (arg->ui & TAGMASK) == selmon->tagset[selmon->seltags]) return; selmon->seltags ^= 1; /* toggle sel tagset */ if (arg->ui & TAGMASK)