thotfix - dwm - [fork] customized build of dwm, the dynamic window manager | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 25060031a5e9a505c53d8462c087d80013ffdc16 | |
parent c7ae6334b7f0e8ac1fbc4da977fef4b92792767b | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Tue, 5 Sep 2006 13:20:29 +0200 | |
hotfix | |
Diffstat: | |
M view.c | 4 +++- | |
1 file changed, 3 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/view.c b/view.c | |
t@@ -172,7 +172,9 @@ focusprev(Arg *arg) | |
void | |
growcol(Arg *arg) | |
{ | |
- if(!sel || !clients || !clients->next || (arrange != dotile)) | |
+ Client *c = getnext(clients); | |
+ | |
+ if(!sel || !c || !getnext(c->next) || (arrange != dotile)) | |
return; | |
if(sel == getnext(clients)) { | |
if(mw + arg->i > sw - 100) |