all repos — openbox @ 66af88b27ccfbd00e1d52f3b0e994ae8a56898f8

openbox fork - make it a bit more like ryudo

only set focus_client to null if the window losing focus was the focus_client
Dana Jansens danakj@orodu.net
commit

66af88b27ccfbd00e1d52f3b0e994ae8a56898f8

parent

0c173e15772fc8a21a641001e79d91262bc9d344

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

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

@@ -573,7 +573,8 @@ }

if (client && !nomove) { frame_adjust_focus(client->frame, FALSE); - focus_set_client(NULL); + if (client == focus_client) + focus_set_client(NULL); /* focus_set_client has already been called for sure */ client_calc_layer(client); }