only do sloppy focus/raise if the client is not already focused

This commit is contained in:
Dana Jansens 2003-09-29 08:02:16 +00:00
parent c361784b78
commit 474a40754b

View file

@ -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 */
}