dont set the focused client if it's already set
This commit is contained in:
parent
6e29605d41
commit
77bd016628
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ static void event_handle_client(Client *client, XEvent *e)
|
||||||
/* focus state can affect the stacking layer */
|
/* focus state can affect the stacking layer */
|
||||||
client_calc_layer(client);
|
client_calc_layer(client);
|
||||||
|
|
||||||
focus_set_client(client);
|
if (focus_client != client)
|
||||||
|
focus_set_client(client);
|
||||||
break;
|
break;
|
||||||
case FocusOut:
|
case FocusOut:
|
||||||
client->focused = FALSE;
|
client->focused = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue