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:38:09 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-19 14:38:09 +0100
commitddc79603f937c9019c483cd2b41a4eaa2ea34240 (patch)
tree61fcb73b466dca3832e25e3da625ebd6613b7258 /event.c
parentdee5ea23358ec0a9684265dc8cb1d2e4d56e9b84 (diff)
downloaddwm-ddc79603f937c9019c483cd2b41a4eaa2ea34240.tar.gz
replaced XSetBorder.../focus()
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 20c1533..a5e75ca 100644
--- 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);
 	}
 }