aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-19 15:01:51 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-19 15:01:51 +0100
commit1e051d71f509ce0c658170e936896b58b9065f90 (patch)
tree2ccc42d4c1dd775b33e5a8a2a26a71756a90604f /event.c
parentddc79603f937c9019c483cd2b41a4eaa2ea34240 (diff)
downloaddwm-1e051d71f509ce0c658170e936896b58b9065f90.tar.gz
deciding for focus(NULL);
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c
index a5e75ca..20ab599 100644
--- a/event.c
+++ b/event.c
@@ -273,9 +273,9 @@ leavenotify(XEvent *e) {
XCrossingEvent *ev = &e->xcrossing;
if((ev->window == root) && !ev->same_screen) {
- issel = False;
if(sel)
- XSetWindowBorder(dpy, sel->win, dc.norm[ColBorder]);
+ focus(NULL);
+ issel = False;
}
}