summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm>2020-10-30 09:00:07 +0000
committernicm <nicm>2020-10-30 09:00:07 +0000
commit910457f68dfc04c491f31d773788c61300f3f8c7 (patch)
treefca0fb3b8500d6aacd0e0b0374a55a41707b2709
parent649e5970e98b0073763f42a25dcab02aadea688f (diff)
There is no reason not to fire focus events when a pane is in a mode,
GitHub issue 2372.
-rw-r--r--server-client.c4
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.