applied anydot's 3 minor patches, thank you anydot
This commit is contained in:
parent
492c6f10fc
commit
199a601611
4 changed files with 31 additions and 34 deletions
4
event.c
4
event.c
|
@ -242,11 +242,11 @@ enternotify(XEvent *e) {
|
|||
|
||||
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
|
||||
return;
|
||||
if((c = getclient(ev->window)) && isvisible(c))
|
||||
if(c = getclient(ev->window))
|
||||
focus(c);
|
||||
else if(ev->window == root) {
|
||||
selscreen = True;
|
||||
focustopvisible();
|
||||
focus(NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue