From 4a1ebb8032497abc0c5caad279699e2cab6166f9 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 10 May 2024 16:01:45 +0200 Subject: [PATCH] Fix tagnthmon null client --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index f6c788d..24a2b0d 100644 --- a/dwl.c +++ b/dwl.c @@ -3255,7 +3255,7 @@ tagnthmon(const Arg *arg) { Client *sel = focustop(selmon); Monitor *m = numtomon(arg->i); - if (m == NULL) + if (!m || !sel) return; setmon(sel, m, 0); -- 2.48.1