all repos — openbox @ f37382b66d89f9ecc7bdbe9be3dd6122d56790a8

openbox fork - make it a bit more like ryudo

focus properly on desktop change
Dana Jansens danakj@orodu.net
commit

f37382b66d89f9ecc7bdbe9be3dd6122d56790a8

parent

5f428bdeb20a36f395ddac39ebd7495e19256a49

1 files changed, 7 insertions(+), 3 deletions(-)

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

@@ -460,10 +460,14 @@ client_hide(c);

} } - /* reduce flicker by hiliting now rather than waiting for the server - FocusIn event */ - if ((c = focus_fallback_target(TRUE, focus_client))) + /* have to try focus here because when you leave an empty desktop + there is no focus out to watch for */ + if ((c = focus_fallback_target(TRUE, focus_client))) { + /* reduce flicker by hiliting now rather than waiting for the server + FocusIn event */ frame_adjust_focus(c->frame, TRUE); + client_focus(c); + } event_ignore_queued_enters(); }