Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
applied anydots remark of togglefloating()
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
12746f6
..
4c0e4e7
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-247,8
+247,7
@@
enternotify(XEvent *e) {
focus(c);
else if(ev->window == root) {
selscreen = True;
- for(c = stack; c && !isvisible(c); c = c->snext);
- focus(c);
+ focustopvisible();
}
}