From ad6439d4b81437f0b8f0116f97882bcee70db653 Mon Sep 17 00:00:00 2001 From: Eric Nelson Date: Thu, 17 Oct 2024 18:47:04 -0700 Subject: [PATCH] Fix for tab level overlays being hidden by floating pane. --- wezterm-gui/src/termwindow/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wezterm-gui/src/termwindow/mod.rs b/wezterm-gui/src/termwindow/mod.rs index bc767fd3460..92db5535497 100644 --- a/wezterm-gui/src/termwindow/mod.rs +++ b/wezterm-gui/src/termwindow/mod.rs @@ -3535,6 +3535,15 @@ impl TermWindow { None => return None, }; + if self + .tab_state(tab.tab_id()) + .overlay + .as_ref() + .map(|overlay| overlay.pane.clone()) + { + return None; + } + if !tab.floating_pane_is_visible() { return None; }