From 910457f68dfc04c491f31d773788c61300f3f8c7 Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 30 Oct 2020 09:00:07 +0000 Subject: [PATCH] There is no reason not to fire focus events when a pane is in a mode, GitHub issue 2372. --- server-client.c | 4 ---- 1 file changed, 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.