Mercurial > dwm-meillo
changeset 466:ad3fa2d18542 1.6
added visibility check to enternotify as well
author | arg@mmvi |
---|---|
date | Fri, 15 Sep 2006 14:21:25 +0200 (2006-09-15) |
parents | 590575d080fe |
children | 8852d6a2270e |
files | event.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/event.c Fri Sep 15 10:54:32 2006 +0200 +++ b/event.c Fri Sep 15 14:21:25 2006 +0200 @@ -232,7 +232,7 @@ 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;