always set focus_out, since a focusin can come first and mess up the old logic
This commit is contained in:
parent
2572f111e0
commit
2a2008e837
1 changed files with 1 additions and 2 deletions
|
@ -597,10 +597,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
|
|||
e->xfocus.window, client->window,
|
||||
e->xfocus.mode, e->xfocus.detail);
|
||||
#endif
|
||||
focus_out = client;
|
||||
if (focus_in == client)
|
||||
focus_in = NULL;
|
||||
if (client == focus_client)
|
||||
focus_out = client;
|
||||
break;
|
||||
case LeaveNotify:
|
||||
con = frame_context(client, e->xcrossing.window);
|
||||
|
|
Loading…
Reference in a new issue