summaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/view.c b/view.c
index ac3d495..dc10e5e 100644
--- a/view.c
+++ b/view.c
@@ -169,6 +169,24 @@ focusprev(Arg *arg)
169 } 169 }
170} 170}
171 171
172void
173growcol(Arg *arg)
174{
175 if(!sel || (arrange != dotile))
176 return;
177 if(sel == getnext(clients)) {
178 if(mw + arg->i > sw - 100)
179 return;
180 mw += arg->i;
181 }
182 else {
183 if(mw - arg->i < 100)
184 return;
185 mw -= arg->i;
186 }
187 arrange(NULL);
188}
189
172Bool 190Bool
173isvisible(Client *c) 191isvisible(Client *c)
174{ 192{