diff options
author | arg@mmvi <unknown> | 2006-09-15 14:21:25 +0200 |
---|---|---|
committer | arg@mmvi <unknown> | 2006-09-15 14:21:25 +0200 |
commit | 2511b5c6756e10fb29153559fee95bd493451e72 (patch) | |
tree | 8e31dfb0d9a45ec180bf125e994e18d08c366471 | |
parent | 28aba061ec2a6fa7923ea00b43e1335a27a73c06 (diff) | |
download | dwm-2511b5c6756e10fb29153559fee95bd493451e72.tar.gz |
added visibility check to enternotify as well
-rw-r--r-- | event.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -232,7 +232,7 @@ enternotify(XEvent *e) { if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) return; - if((c = getclient(ev->window)) || (c = getctitle(ev->window))) + if(((c = getclient(ev->window)) || (c = getctitle(ev->window))) && isvisible(c)) focus(c); else if(ev->window == root) { issel = True; |