]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
let the frame hold a focus state so that it can lie.
[chaz/openbox] / openbox / event.c
index eb4bdb2782ed886282d3703c7888a6a72f046713..eea6583be8248053b456a2e1f165910ac457be31 100644 (file)
@@ -498,7 +498,7 @@ static void event_handle_client(Client *client, XEvent *e)
 #endif
         /* focus state can affect the stacking layer */
         client_calc_layer(client);
-        frame_adjust_focus(client->frame);
+        frame_adjust_focus(client->frame, e->type == FocusIn);
        break;
     case EnterNotify:
         if (client_normal(client)) {
This page took 0.02509 seconds and 4 git commands to generate.