about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/event.c b/event.c
index 6656d01..5ff6b91 100644
--- a/event.c
+++ b/event.c
@@ -51,7 +51,7 @@ buttonpress(XEvent *e)
 	Client *c;
 
 	if((c = getclient(ev->window))) {
-		raise(c);
+		craise(c);
 		switch(ev->button) {
 		default:
 			break;
@@ -147,8 +147,6 @@ expose(XEvent *e)
 	if(ev->count == 0) {
 		if((c = gettitle(ev->window)))
 			draw_client(c);
-		else if(ev->window == barwin)
-			draw_bar();
 	}
 }
 
@@ -203,10 +201,7 @@ propertynotify(XEvent *e)
 		}
 		if(ev->atom == XA_WM_NAME || ev->atom == net_atom[NetWMName]) {
 			update_name(c);
-			if(c == stack)
-				draw_bar();
-			else
-				draw_client(c);
+			draw_client(c);
 		}
 	}
 }
7ba0937a3747684f299bb7a8b3cdd0fbb689db3'>^
fc2046a1 ^
192d59d3 ^
fc2046a1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14