all repos — openbox @ 6e83a82e5b5206c8199e392df5f089c0b4122fe1

openbox fork - make it a bit more like ryudo

the focus_client = NULL got moved by mistake.
Dana Jansens danakj@orodu.net
commit

6e83a82e5b5206c8199e392df5f089c0b4122fe1

parent

c6fe4f8d8f4bd462ff9b1b1344422d0115cd5ff3

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

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

@@ -273,8 +273,6 @@ at all for them.

*/ focus_nothing(); - focus_client = NULL; - if ((new = focus_fallback_target(allow_refocus, old))) client_focus(new); }

@@ -286,6 +284,8 @@ if (focus_client != NULL) {

screen_install_colormap(focus_client, FALSE); screen_install_colormap(NULL, TRUE); } + + focus_client = NULL; /* when nothing will be focused, send focus to the backup target */ XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,