From: Dana Jansens Date: Mon, 29 Sep 2003 08:02:16 +0000 (+0000) Subject: only do sloppy focus/raise if the client is not already focused X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=474a40754b68fe159d5e3063319a20396b2912c7;p=chaz%2Fopenbox only do sloppy focus/raise if the client is not already focused --- diff --git a/openbox/event.c b/openbox/event.c index 6503ba0a..91802496 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1259,9 +1259,11 @@ static gboolean focus_delay_func(gpointer data) { ObClient *c = data; - client_focus(c); - if (config_focus_raise) - client_raise(c); + if (focus_client != c) { + client_focus(c); + if (config_focus_raise) + client_raise(c); + } return FALSE; /* no repeat */ }