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,6 +332,7 @@ static void event_handle_client(Client *client, XEvent *e)
|
|||
/* focus state can affect the stacking layer */
|
||||
client_calc_layer(client);
|
||||
|
||||
if (focus_client != client)
|
||||
focus_set_client(client);
|
||||
break;
|
||||
case FocusOut:
|
||||
|
|
Loading…
Reference in a new issue