diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-26 20:31:36 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-26 20:31:36 -0500 |
commit | fc8b2a8335365dbf3966f0a9bb783a4cb33fdcbf (patch) | |
tree | 4468777509e7be05e60cd81330a1372cbd7bfd52 /dwl.c | |
parent | c00faae26370682c307cfb107b12123d10d49053 (diff) |
fix bad condition
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |