diff options
Diffstat (limited to '')
| -rw-r--r-- | event.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -232,7 +232,7 @@ enternotify(XEvent *e) { | |||
| 232 | if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) | 232 | if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) |
| 233 | return; | 233 | return; |
| 234 | 234 | ||
| 235 | if((c = getclient(ev->window)) || (c = getctitle(ev->window))) | 235 | if(((c = getclient(ev->window)) || (c = getctitle(ev->window))) && isvisible(c)) |
| 236 | focus(c); | 236 | focus(c); |
| 237 | else if(ev->window == root) { | 237 | else if(ev->window == root) { |
| 238 | issel = True; | 238 | issel = True; |
