set focus_client when focus leaves a window
This commit is contained in:
parent
df595f9ab2
commit
0c173e1577
1 changed files with 1 additions and 0 deletions
|
@ -573,6 +573,7 @@ static void event_process(const XEvent *ec, gpointer data)
|
||||||
|
|
||||||
if (client && !nomove) {
|
if (client && !nomove) {
|
||||||
frame_adjust_focus(client->frame, FALSE);
|
frame_adjust_focus(client->frame, FALSE);
|
||||||
|
focus_set_client(NULL);
|
||||||
/* focus_set_client has already been called for sure */
|
/* focus_set_client has already been called for sure */
|
||||||
client_calc_layer(client);
|
client_calc_layer(client);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue