tadded visibility check to enternotify as well - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 2511b5c6756e10fb29153559fee95bd493451e72
 (DIR) parent 28aba061ec2a6fa7923ea00b43e1335a27a73c06
 (HTM) Author: arg@mmvi <unknown>
       Date:   Fri, 15 Sep 2006 14:21:25 +0200
       
       added visibility check to enternotify as well
       Diffstat:
         M event.c                             |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/event.c b/event.c
       t@@ -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;