diff event.c @ 704:6110b9efc299

yet another multihead fix by Christof Musik
author Anselm R. Garbe <arg@suckless.org>
date Fri, 19 Jan 2007 14:36:25 +0100
parents fc5b982778df
children 1e571a8c7552
line wrap: on
line diff
--- a/event.c	Fri Jan 19 08:05:39 2007 +0100
+++ b/event.c	Fri Jan 19 14:36:25 2007 +0100
@@ -235,6 +235,8 @@
 	else if(ev->window == root) {
 		issel = True;
 		XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
+		if(sel)
+			XSetWindowBorder(dpy, sel->win, dc.sel[ColBorder]);
 	}
 }