mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
There is no reason not to fire focus events when a pane is in a mode,
GitHub issue 2372.
This commit is contained in:
parent
649e5970e9
commit
910457f68d
@ -1590,10 +1590,6 @@ server_client_check_pane_focus(struct window_pane *wp)
|
|||||||
if (wp->window->active != wp)
|
if (wp->window->active != wp)
|
||||||
goto not_focused;
|
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
|
* If our window is the current window in any focused clients with an
|
||||||
* attached session, we're focused.
|
* attached session, we're focused.
|
||||||
|
Loading…
Reference in New Issue
Block a user