Mercurial > dwm-meillo
comparison view.c @ 415:ad2b6ce6e95b
I really need column growing, now pushing upstream
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Tue, 05 Sep 2006 09:02:37 +0200 |
parents | c6ffcc201229 |
children | a43c395003bc |
comparison
equal
deleted
inserted
replaced
414:c6ffcc201229 | 415:ad2b6ce6e95b |
---|---|
167 focus(c); | 167 focus(c); |
168 restack(); | 168 restack(); |
169 } | 169 } |
170 } | 170 } |
171 | 171 |
172 void | |
173 growcol(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 | |
172 Bool | 190 Bool |
173 isvisible(Client *c) | 191 isvisible(Client *c) |
174 { | 192 { |
175 unsigned int i; | 193 unsigned int i; |
176 | 194 |