dwm-meillo

changeset 418:0f351a3e5c21

hotfix
author Anselm R. Garbe <arg@10kloc.org>
date Tue, 05 Sep 2006 13:20:29 +0200
parents a43c395003bc
children 7a65674a0fd7
files view.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/view.c	Tue Sep 05 13:19:18 2006 +0200
     1.2 +++ b/view.c	Tue Sep 05 13:20:29 2006 +0200
     1.3 @@ -172,7 +172,9 @@
     1.4  void
     1.5  growcol(Arg *arg)
     1.6  {
     1.7 -	if(!sel || !clients || !clients->next || (arrange != dotile))
     1.8 +	Client *c = getnext(clients);
     1.9 +
    1.10 +	if(!sel || !c || !getnext(c->next) || (arrange != dotile))
    1.11  		return;
    1.12  	if(sel == getnext(clients)) {
    1.13  		if(mw + arg->i > sw - 100)