mirror of
https://github.com/0intro/wmii
synced 2024-11-23 14:19:48 +03:00
keiss, right, check again
This commit is contained in:
parent
3f28a77d9e
commit
dba156e3f9
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user