From 2b0ec94ab775818923c3cc4b1aab32cc6e5a6851 Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Mon, 28 Sep 2026 10:27:49 +0100 Subject: [PATCH] Preserve selected window focus while Overview closes --- compositor/src/input.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compositor/src/input.rs b/compositor/src/input.rs index 99540db..599307a 100644 --- a/compositor/src/input.rs +++ b/compositor/src/input.rs @@ -587,7 +587,9 @@ impl Ferese { if self.session_lock.active { return; } - if self.overview.is_active() + // Keep the explicitly selected window focused until Overview's exit + // animation settles. Moving previews must not steal focus on pointer jitter. + if self.overview.is_presenting() || !self.input_settings.focus_follows_mouse || pointer.is_grabbed() {