diff options
author | nicm <nicm> | 2020-10-30 09:00:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-10-30 09:00:07 +0000 |
commit | 910457f68dfc04c491f31d773788c61300f3f8c7 (patch) | |
tree | fca0fb3b8500d6aacd0e0b0374a55a41707b2709 /server-client.c | |
parent | 649e5970e98b0073763f42a25dcab02aadea688f (diff) | |
download | rtmux-910457f68dfc04c491f31d773788c61300f3f8c7.tar.gz rtmux-910457f68dfc04c491f31d773788c61300f3f8c7.tar.bz2 rtmux-910457f68dfc04c491f31d773788c61300f3f8c7.zip |
There is no reason not to fire focus events when a pane is in a mode,
GitHub issue 2372.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server-client.c b/server-client.c index 3c2b54d5..190897ff 100644 --- a/server-client.c +++ b/server-client.c @@ -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. |