From: Dana Jansens Date: Tue, 18 Mar 2003 09:08:55 +0000 (+0000) Subject: dont set the focused client if it's already set X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=77bd01662820449ea9c958894fdba13ae3761d37;p=chaz%2Fopenbox dont set the focused client if it's already set --- diff --git a/openbox/event.c b/openbox/event.c index cb2ed093..43142e3a 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -332,7 +332,8 @@ static void event_handle_client(Client *client, XEvent *e) /* focus state can affect the stacking layer */ client_calc_layer(client); - focus_set_client(client); + if (focus_client != client) + focus_set_client(client); break; case FocusOut: client->focused = FALSE;