Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
this version should also work with cornercases (like unmanage during !issel, etc.)
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
2e021d5
..
c913320
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-270,7
+270,7
@@
leavenotify(XEvent *e) {
if((ev->window == root) && !ev->same_screen) {
issel = False;
if((ev->window == root) && !ev->same_screen) {
issel = False;
- focus(
sel
);
+ focus(
NULL
);
}
}
}
}