all repos — openbox @ 2a2008e837b13d32be6b0bb8edea9e9475aa44fc

openbox fork - make it a bit more like ryudo

always set focus_out, since a focusin can come first and mess up the old logic
Dana Jansens danakj@orodu.net
commit

2a2008e837b13d32be6b0bb8edea9e9475aa44fc

parent

2572f111e011152fb5a844fb0c3577eafef11a09

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -597,10 +597,9 @@ ob_debug("FocusOut on client for %lx (client %lx) mode %d detail %d\n",

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);