aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/event.c b/event.c
index c679f9c..20c1533 100644
--- 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]);
}
}
remember that computers suck.