author | Anselm R. Garbe <arg@suckless.org> |
Fri, 05 Jan 2007 21:52:17 +0100 | |
changeset 659 | 498b86c72a40 |
parent 658 | b4d1ef7e407f |
child 660 | 4c6d27f03773 |
--- a/view.c Fri Jan 05 16:35:45 2007 +0100 +++ b/view.c Fri Jan 05 21:52:17 2007 +0100 @@ -34,15 +34,19 @@ Client tmp = *c1; Client *c1p = c1->prev; Client *c1n = c1->next; + Client *c1s = c1->snext; Client *c2p = c2->prev; Client *c2n = c2->next; + Client *c2s = c2->snext; *c1 = *c2; *c2 = tmp; c1->prev = c1p; c1->next = c1n; + c1->snext = c1s; c2->prev = c2p; c2->next = c2n; + c2->snext = c2s; } static void