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;
|
ObClient *c = data;
|
||||||
|
|
||||||
client_focus(c);
|
if (focus_client != c) {
|
||||||
if (config_focus_raise)
|
client_focus(c);
|
||||||
client_raise(c);
|
if (config_focus_raise)
|
||||||
|
client_raise(c);
|
||||||
|
}
|
||||||
return FALSE; /* no repeat */
|
return FALSE; /* no repeat */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue