the focus_client = NULL got moved by mistake.
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
openbox/focus.c
→
openbox/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,