added heretag command which allows to tag a client of a foreign tag with current tag
This commit is contained in:
parent
849e631510
commit
4f8b08d330
6 changed files with 42 additions and 10 deletions
8
client.c
8
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue