aewl

diff event.c @ 70:e5fff8249705

draw bar on exposure ;)
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 18:46:12 +0200
parents f14858218641
children c2ddb9dbbd10
line diff
     1.1 --- a/event.c	Fri Jul 14 18:40:36 2006 +0200
     1.2 +++ b/event.c	Fri Jul 14 18:46:12 2006 +0200
     1.3 @@ -142,7 +142,9 @@
     1.4  	Client *c;
     1.5  
     1.6  	if(ev->count == 0) {
     1.7 -		if((c = gettitle(ev->window)))
     1.8 +		if(barwin == ev->window)
     1.9 +			draw_bar();
    1.10 +		else if((c = gettitle(ev->window)))
    1.11  			draw_client(c);
    1.12  	}
    1.13  }