aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-12-25 09:59:27 +0100
committerJoe <rbo@gmx.us>2024-12-25 09:59:27 +0100
commite7eb57a968d231280baea8c94275dc8db4fa7887 (patch)
tree40b14337b5e4945d651fc8cab30568c59ec863e4
parentup (diff)
downloaddwm-e7eb57a968d231280baea8c94275dc8db4fa7887.tar.gz
dwm-e7eb57a968d231280baea8c94275dc8db4fa7887.tar.bz2
dwm-e7eb57a968d231280baea8c94275dc8db4fa7887.tar.xz
dwm-e7eb57a968d231280baea8c94275dc8db4fa7887.tar.zst
dwm-e7eb57a968d231280baea8c94275dc8db4fa7887.zip
fixed segv
-rw-r--r--dwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index b8751cd..db1b2a6 100644
--- a/dwm.c
+++ b/dwm.c
@@ -3486,6 +3486,8 @@ winview(const Arg* arg){
if (!(c = wintoclient(win)))
return;
+ if ((c->tags & SPTAGMASK))
+ return;
a.ui = c->tags;
view(&a);
}