aboutsummaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index ba41f55..a47bc25 100644
--- a/event.c
+++ b/event.c
@@ -146,7 +146,7 @@ expose(XEvent *e)
Client *c;
if(ev->count == 0) {
- if((c = getclient(ev->window)))
+ if((c = gettitle(ev->window)))
draw_client(c);
else if(ev->window == barwin)
draw_bar();