the focus_client = NULL got moved by mistake.
This commit is contained in:
parent
c6fe4f8d8f
commit
6e83a82e5b
1 changed files with 2 additions and 2 deletions
|
@ -273,8 +273,6 @@ void focus_fallback(gboolean allow_refocus)
|
|||
*/
|
||||
focus_nothing();
|
||||
|
||||
focus_client = NULL;
|
||||
|
||||
if ((new = focus_fallback_target(allow_refocus, old)))
|
||||
client_focus(new);
|
||||
}
|
||||
|
@ -287,6 +285,8 @@ void focus_nothing()
|
|||
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,
|
||||
event_curtime);
|
||||
|
|
Loading…
Reference in a new issue