keiss, right, check again

This commit is contained in:
Anselm R. Garbe 2006-04-28 15:03:01 +02:00
parent 3f28a77d9e
commit dba156e3f9

View File

@ -205,9 +205,12 @@ handle_enternotify(XEvent *e)
return;
if((c = client_of_win(ev->window))) {
Client *old = sel_client_of_view(view.data[sel]);
Frame *f = c->frame.data[c->sel];
if((f->area->mode != Colmax)
&& (c != sel_client_of_view(view.data[sel])))
Frame *oldf = old->frame.data[old->sel];
if((f->area->mode == Colmax) && (oldf->area == f->area))
return;
if(c != old)
focus(c, False);
}
}