Browse Source

Fix possible misinformed ptr

Martin Duquesnoy 12 years ago
parent
commit
ad4f4e361c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mouse.c

+ 1 - 1
src/mouse.c

@@ -144,7 +144,7 @@ mouse_move(struct client *c, bool type)
                     _client_tab(c, c2);
           }
      }
-     else if(t)
+     else if(t && t != (struct tag*)c)
           tag_client(t, c);
 }