only do sloppy focus/raise if the client is not already focused
This commit is contained in:
parent
c361784b78
commit
474a40754b
1 changed files with 5 additions and 3 deletions
|
@ -1259,9 +1259,11 @@ static gboolean focus_delay_func(gpointer data)
|
|||
{
|
||||
ObClient *c = data;
|
||||
|
||||
if (focus_client != c) {
|
||||
client_focus(c);
|
||||
if (config_focus_raise)
|
||||
client_raise(c);
|
||||
}
|
||||
return FALSE; /* no repeat */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue