about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-19 14:36:25 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-19 14:36:25 +0100
commitdee5ea23358ec0a9684265dc8cb1d2e4d56e9b84 (patch)
treed2d1e25eabbfa913dcb23e1cd754e38f45ddc924 /event.c
parentb1c9f5f1447846cf75b0184445062b1c30753452 (diff)
downloaddwm-dee5ea23358ec0a9684265dc8cb1d2e4d56e9b84.tar.gz
yet another multihead fix by Christof Musik
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]);
 	}
 }