There is no reason not to fire focus events when a pane is in a mode,

GitHub issue 2372.
This commit is contained in:
nicm 2020-10-30 09:00:07 +00:00
parent 649e5970e9
commit 910457f68d

View File

@ -1590,10 +1590,6 @@ server_client_check_pane_focus(struct window_pane *wp)
if (wp->window->active != wp)
goto not_focused;
/* If we're in a mode, we're not focused. */
if (wp->screen != &wp->base)
goto not_focused;
/*
* If our window is the current window in any focused clients with an
* attached session, we're focused.