]> Dogcows Code - chaz/openbox/commitdiff
always set focus_out, since a focusin can come first and mess up the old logic
authorDana Jansens <danakj@orodu.net>
Fri, 3 Oct 2003 07:24:33 +0000 (07:24 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 3 Oct 2003 07:24:33 +0000 (07:24 +0000)
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.027012 seconds and 4 git commands to generate.