about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 23:18:30 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 23:18:30 +0200
commit83d23908d3438d7f1f62533a7c8d96fc1019df55 (patch)
tree5e6cead0c83f19f95157cd9fed95aa4ccb714c5f /event.c
parenta05beb6585713aeb661cf30c080e77fbfdb28867 (diff)
downloaddwm-83d23908d3438d7f1f62533a7c8d96fc1019df55.tar.gz
implemented draw_client stuff
Diffstat (limited to 'event.c')
-rw-r--r--event.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/event.c b/event.c
index 84b0698..f29038a 100644
--- a/event.c
+++ b/event.c
@@ -143,9 +143,12 @@ static void
 expose(XEvent *e)
 {
 	XExposeEvent *ev = &e->xexpose;
+	Client *c;
 
 	if(ev->count == 0) {
-		if(ev->window == barwin)
+		if((c = getclient(ev->window)))
+			draw_client(c);
+		else if(ev->window == barwin)
 			draw_bar();
 	}
 }
514'>e2393938 ^
06848dc3 ^
240394a4 ^
f027adc0 ^
08f08fb9 ^
654af129 ^
08f08fb9 ^
d8084b41 ^

99400080 ^
08f08fb9 ^

654af129 ^

d1a1173d ^
d8084b41 ^
cba63cf3 ^
b4250dbc ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39