From: A-Larsen Date: Tue, 13 Oct 2026 14:44:53 +0000 (-0400) Subject: gaurd movestack to not work in empty tag X-Git-Url: https://nyquistdev.net/git/?a=commitdiff_plain;h=57ed0dbeb209cdf4158a4c92a23602b4755ff8e3;p=dwm-config.git gaurd movestack to not work in empty tag --- diff --git a/dwm b/dwm index 8c55f19..66c81f7 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 265338e..a8a05cb 100644 Binary files a/dwm.o and b/dwm.o differ diff --git a/movestack.c b/movestack.c index 8d22a6b..4a0dfcb 100644 --- a/movestack.c +++ b/movestack.c @@ -1,5 +1,7 @@ void movestack(const Arg *arg) { + if (!selmon->sel) + return; Client *c = NULL, *p = NULL, *pc = NULL, *i; if(arg->i > 0) {