dwm-meillo
diff event.c @ 466:ad3fa2d18542
added visibility check to enternotify as well
author | arg@mmvi |
---|---|
date | Fri, 15 Sep 2006 14:21:25 +0200 |
parents | 9d23330a5268 |
children | 2d8af0d7920d |
line diff
1.1 --- a/event.c Fri Sep 15 10:54:32 2006 +0200 1.2 +++ b/event.c Fri Sep 15 14:21:25 2006 +0200 1.3 @@ -232,7 +232,7 @@ 1.4 if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) 1.5 return; 1.6 1.7 - if((c = getclient(ev->window)) || (c = getctitle(ev->window))) 1.8 + if(((c = getclient(ev->window)) || (c = getctitle(ev->window))) && isvisible(c)) 1.9 focus(c); 1.10 else if(ev->window == root) { 1.11 issel = True;