From 4f8b08d330a6c377ab919f48b8e922d1c5ded601 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 18 Jul 2006 11:38:31 +0200 Subject: added heretag command which allows to tag a client of a foreign tag with current tag --- client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 69189de..166e979 100644 --- a/client.c +++ b/client.c @@ -66,8 +66,8 @@ focusnext(Arg *arg) 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 @@ zoom(Arg *arg) 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; } -- cgit v1.2.3