JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
yet another multihead fix by Christof Musik
authorAnselm R. Garbe <arg@suckless.org>
Fri, 19 Jan 2007 13:36:25 +0000 (14:36 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Fri, 19 Jan 2007 13:36:25 +0000 (14:36 +0100)
event.c

diff --git a/event.c b/event.c
index c679f9c..20c1533 100644 (file)
--- a/event.c
+++ b/event.c
@@ -235,6 +235,8 @@ enternotify(XEvent *e) {
        else if(ev->window == root) {
                issel = True;
                XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
+               if(sel)
+                       XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]);
        }
 }