Browse Source

Tag: Fix mad behavior when wanting to transfer a client on the its tag

Martin Duquesnoy 14 years ago
parent
commit
fab6a9f584
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/tag.c

+ 1 - 1
src/tag.c

@@ -105,7 +105,7 @@ tag_transfert(Client *c, int tag)
 
      arrange(c->screen, True);
 
-     if(c == sel)
+     if(c == sel && c->tag != tag)
           client_focus(NULL);
 
      client_update_attributes(c);