I really need column growing, now pushing upstream
This commit is contained in:
parent
04f27a5438
commit
6499fc4f93
5 changed files with 27 additions and 0 deletions
18
view.c
18
view.c
|
@ -169,6 +169,24 @@ focusprev(Arg *arg)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
growcol(Arg *arg)
|
||||
{
|
||||
if(!sel || (arrange != dotile))
|
||||
return;
|
||||
if(sel == getnext(clients)) {
|
||||
if(mw + arg->i > sw - 100)
|
||||
return;
|
||||
mw += arg->i;
|
||||
}
|
||||
else {
|
||||
if(mw - arg->i < 100)
|
||||
return;
|
||||
mw -= arg->i;
|
||||
}
|
||||
arrange(NULL);
|
||||
}
|
||||
|
||||
Bool
|
||||
isvisible(Client *c)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue