From: Dana Jansens Date: Fri, 3 Oct 2003 07:24:33 +0000 (+0000) Subject: always set focus_out, since a focusin can come first and mess up the old logic X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=2a2008e837b13d32be6b0bb8edea9e9475aa44fc;p=chaz%2Fopenbox always set focus_out, since a focusin can come first and mess up the old logic --- diff --git a/openbox/event.c b/openbox/event.c index eff9d590..8a15d789 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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);