JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
replaced XSetBorder.../focus()
authorAnselm R. Garbe <arg@suckless.org>
Fri, 19 Jan 2007 13:38:09 +0000 (14:38 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Fri, 19 Jan 2007 13:38:09 +0000 (14:38 +0100)
event.c

diff --git a/event.c b/event.c
index 20c1533..a5e75ca 100644 (file)
--- 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);
        }
 }