JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed aux* stuff from Client
[dwm.git] / dwm.c
diff --git a/dwm.c b/dwm.c
index e135715..1554a16 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -1642,6 +1642,8 @@ updatewmhints(Client *c) {
 
 void
 view(const Arg *arg) {
+       if(arg && (arg->i & TAGMASK) == tagset[seltags])
+               return;
        seltags ^= 1; /* toggle sel tagset */
        if(arg && (arg->ui & TAGMASK))
                tagset[seltags] = arg->i & TAGMASK;