]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
kill some whitespace
[chaz/openbox] / 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.021321 seconds and 4 git commands to generate.