~ruther/dwl

fc8b2a8335365dbf3966f0a9bb783a4cb33fdcbf — Leonardo Hernández Hernández 2 years ago c00faae
fix bad condition
1 files changed, 1 insertions(+), 1 deletions(-)

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

Do not follow this link