summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-30 08:57:44 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-30 08:57:44 +0200
commit39ae286861b7e23f6de0ee290e48bda695c1e881 (patch)
tree5df7791089c0e6cddc0250e7bcd22c0c133144b8 /event.c
parent59e65d1709f7fb4c30761e7cea0875903924581e (diff)
applied Jukkas patch
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 6b15950..8eaff1a 100644
--- a/event.c
+++ b/event.c
@@ -244,7 +244,7 @@ enternotify(XEvent *e) {
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
return;
- if(c = getclient(ev->window))
+ if((c = getclient(ev->window)))
focus(c);
else if(ev->window == root) {
selscreen = True;