diff options
Diffstat (limited to '')
| -rw-r--r-- | event.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -247,8 +247,7 @@ enternotify(XEvent *e) { | |||
| 247 | focus(c); | 247 | focus(c); |
| 248 | else if(ev->window == root) { | 248 | else if(ev->window == root) { |
| 249 | selscreen = True; | 249 | selscreen = True; |
| 250 | for(c = stack; c && !isvisible(c); c = c->snext); | 250 | focustopvisible(); |
| 251 | focus(c); | ||
| 252 | } | 251 | } |
| 253 | } | 252 | } |
| 254 | 253 | ||
