Client: Fix client swapping with additional tag

This commit is contained in:
Martin Duquesnoy 2010-08-02 15:45:31 +02:00
parent 872d9cb348
commit 5742ed4fca

View File

@ -948,7 +948,7 @@ client_swap(Client *c1, Client *c2)
CHECK(!(c1->flags & FreeFlag));
CHECK(!(c2->flags & FreeFlag));
if(c1 == c2 || (c1->screen == c2->screen && c1->tag != c2->tag))
if(c1 == c2)
return;
/* Swap only the windows */