Mercurial > aewl
diff client.c @ 93:c498da7520c7
added heretag command which allows to tag a client of a foreign tag with current tag
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Tue, 18 Jul 2006 11:38:31 +0200 |
parents | 92f0d50475be |
children | 6efe82c775c9 |
line wrap: on
line diff
--- a/client.c Tue Jul 18 08:18:54 2006 +0200 +++ b/client.c Tue Jul 18 11:38:31 2006 +0200 @@ -66,8 +66,8 @@ if(!sel) return; - if(!(c = getnext(sel->next))) - c = getnext(clients); + if(!(c = getnext(sel->next, tsel))) + c = getnext(clients, tsel); if(c) { higher(c); c->revert = sel; @@ -410,8 +410,8 @@ if(!sel) return; - if(sel == getnext(clients) && sel->next) { - if((c = getnext(sel->next))) + if(sel == getnext(clients, tsel) && sel->next) { + if((c = getnext(sel->next, tsel))) sel = c; }