projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc7960
)
deciding for focus(NULL);
author
Anselm R. Garbe
<arg@suckless.org>
Fri, 19 Jan 2007 14:01:51 +0000
(15:01 +0100)
committer
Anselm R. Garbe
<arg@suckless.org>
Fri, 19 Jan 2007 14:01:51 +0000
(15:01 +0100)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index a5e75cad04db2229834c9d13cc40932ebc3ce890..20ab5992a85361eba680895402cf2216055aeb48 100644
(file)
--- 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;
}
}