]> Dogcows Code - chaz/openbox/blobdiff - openbox/event.c
always set focus_out, since a focusin can come first and mess up the old logic
[chaz/openbox] / openbox / event.c
index eff9d5907b256fe2c3597931086711cfa1fea60e..8a15d789f398bbfa606f5fd32e5fdd9cf7abc96d 100644 (file)
@@ -597,10 +597,9 @@ static void event_handle_client(ObClient *client, XEvent *e)
                  e->xfocus.window, client->window,
                  e->xfocus.mode, e->xfocus.detail);
 #endif
+        focus_out = client;
         if (focus_in == client)
             focus_in = NULL;
-        if (client == focus_client)
-            focus_out = client;
         break;
     case LeaveNotify:
         con = frame_context(client, e->xcrossing.window);
This page took 0.023312 seconds and 4 git commands to generate.