dwm-meillo

diff event.c @ 32:082c75b937b5

removed unnecessary crap
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:30:55 +0200
parents 386649deb651
children 989178822938
line diff
     1.1 --- a/event.c	Thu Jul 13 01:04:38 2006 +0200
     1.2 +++ b/event.c	Thu Jul 13 01:30:55 2006 +0200
     1.3 @@ -51,7 +51,7 @@
     1.4  	Client *c;
     1.5  
     1.6  	if((c = getclient(ev->window))) {
     1.7 -		raise(c);
     1.8 +		craise(c);
     1.9  		switch(ev->button) {
    1.10  		default:
    1.11  			break;
    1.12 @@ -147,8 +147,6 @@
    1.13  	if(ev->count == 0) {
    1.14  		if((c = gettitle(ev->window)))
    1.15  			draw_client(c);
    1.16 -		else if(ev->window == barwin)
    1.17 -			draw_bar();
    1.18  	}
    1.19  }
    1.20  
    1.21 @@ -203,10 +201,7 @@
    1.22  		}
    1.23  		if(ev->atom == XA_WM_NAME || ev->atom == net_atom[NetWMName]) {
    1.24  			update_name(c);
    1.25 -			if(c == stack)
    1.26 -				draw_bar();
    1.27 -			else
    1.28 -				draw_client(c);
    1.29 +			draw_client(c);
    1.30  		}
    1.31  	}
    1.32  }