]> nyquistdev.net Git - dwm-config.git/commitdiff
gaurd movestack to not work in empty tag
authorA-Larsen <austin.larsen@mailfence.com>
Tue, 13 Oct 2026 14:44:53 +0000 (10:44 -0400)
committerA-Larsen <austin.larsen@mailfence.com>
Tue, 13 Oct 2026 14:44:53 +0000 (10:44 -0400)
dwm
dwm.o
movestack.c

diff --git a/dwm b/dwm
index 8c55f19b71f5ba7ade53ba457015fa78a2b09eff..66c81f72dcefbba1364fb57bedadb6c286150f87 100755 (executable)
Binary files a/dwm and b/dwm differ
diff --git a/dwm.o b/dwm.o
index 265338e59e73bf78fd5111349466e80a5050f56d..a8a05cbb5bb24549ff9c54d211a870d96adb61c8 100644 (file)
Binary files a/dwm.o and b/dwm.o differ
index 8d22a6b35a2d2fb3fb3df7ca47be6e27ac1a6be0..4a0dfcbdfc9ffdeb590482c665402bc5f4a40933 100644 (file)
@@ -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) {