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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 20c1533..a5e75ca 100644
--- a/event.c
+++ b/event.c
@@ -236,7 +236,7 @@ enternotify(XEvent *e) {
 		issel = True;
 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
 		if(sel)
-			XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]);
+			focus(sel);
 	}
 }