]> Dogcows Code - chaz/openbox/commitdiff
dont set the focused client if it's already set
authorDana Jansens <danakj@orodu.net>
Tue, 18 Mar 2003 09:08:55 +0000 (09:08 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 18 Mar 2003 09:08:55 +0000 (09:08 +0000)
openbox/event.c

index cb2ed093bce4f7584770d85ce06b9207647200b1..43142e3a47ffefe81a0341d437c9a8d972b6e4d7 100644 (file)
@@ -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;
This page took 0.022934 seconds and 4 git commands to generate.