dwm-meillo

diff view.c @ 437:433a5c662f73

drawstatus even if no client exists
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 06 Sep 2006 12:10:43 +0200
parents b3659c3c5dab
children 056a5072c70a
line diff
     1.1 --- a/view.c	Wed Sep 06 11:54:16 2006 +0200
     1.2 +++ b/view.c	Wed Sep 06 12:10:43 2006 +0200
     1.3 @@ -218,8 +218,10 @@
     1.4  	Client *c;
     1.5  	XEvent ev;
     1.6  	
     1.7 -	if(!sel)
     1.8 +	if(!sel) {
     1.9 +		drawstatus();
    1.10  		return;
    1.11 +	}
    1.12  	if(sel->isfloat || arrange == dofloat) {
    1.13  		XRaiseWindow(dpy, sel->win);
    1.14  		XRaiseWindow(dpy, sel->twin);