projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28aba06
)
added visibility check to enternotify as well
author
arg@mmvi
<unknown>
Fri, 15 Sep 2006 12:21:25 +0000
(14:21 +0200)
committer
arg@mmvi
<unknown>
Fri, 15 Sep 2006 12:21:25 +0000
(14:21 +0200)
event.c
patch
|
blob
|
history
diff --git
a/event.c
b/event.c
index c59385dc0d8bd260ab4b58067cbcebfc6bad9648..3783eb45e98e08c41b8619b829d6b5444ab1f044 100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-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;