dwm-meillo
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 diff
1.1 --- a/client.c Tue Jul 18 08:18:54 2006 +0200 1.2 +++ b/client.c Tue Jul 18 11:38:31 2006 +0200 1.3 @@ -66,8 +66,8 @@ 1.4 if(!sel) 1.5 return; 1.6 1.7 - if(!(c = getnext(sel->next))) 1.8 - c = getnext(clients); 1.9 + if(!(c = getnext(sel->next, tsel))) 1.10 + c = getnext(clients, tsel); 1.11 if(c) { 1.12 higher(c); 1.13 c->revert = sel; 1.14 @@ -410,8 +410,8 @@ 1.15 if(!sel) 1.16 return; 1.17 1.18 - if(sel == getnext(clients) && sel->next) { 1.19 - if((c = getnext(sel->next))) 1.20 + if(sel == getnext(clients, tsel) && sel->next) { 1.21 + if((c = getnext(sel->next, tsel))) 1.22 sel = c; 1.23 } 1.24