Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
this variant is known to work, but focus() is ugly - we need in general a better...
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
e0718d3
..
2e021d5
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-269,8
+269,8
@@
leavenotify(XEvent *e) {
XCrossingEvent *ev = &e->xcrossing;
if((ev->window == root) && !ev->same_screen) {
- focus(NULL);
issel = False;
+ focus(sel);
}
}