|
@@ -244,7 +244,7 @@ enternotify(XEvent *e) {
|
|
|
|
|
|
|
|
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
|
|
if(ev->mode != NotifyNormal || ev->detail == NotifyInferior)
|
|
|
return;
|
|
return;
|
|
|
- if(c = getclient(ev->window))
|
|
|
|
|
|
|
+ if((c = getclient(ev->window)))
|
|
|
focus(c);
|
|
focus(c);
|
|
|
else if(ev->window == root) {
|
|
else if(ev->window == root) {
|
|
|
selscreen = True;
|
|
selscreen = True;
|