summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorarg@mmvi <unknown>2006-09-15 14:21:25 +0200
committerarg@mmvi <unknown>2006-09-15 14:21:25 +0200
commit2511b5c6756e10fb29153559fee95bd493451e72 (patch)
tree8e31dfb0d9a45ec180bf125e994e18d08c366471 /event.c
parentoffscreen client appearance fixes (diff)
downloaddwm-2511b5c6756e10fb29153559fee95bd493451e72.tar.gz
dwm-2511b5c6756e10fb29153559fee95bd493451e72.zip
added visibility check to enternotify as well
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index c59385d..3783eb4 100644
--- a/event.c
+++ b/event.c
@@ -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;