diff --git a/packages/wm/src/common/events/handle_window_focused.rs b/packages/wm/src/common/events/handle_window_focused.rs index 57e7bf0f7..360b1721a 100644 --- a/packages/wm/src/common/events/handle_window_focused.rs +++ b/packages/wm/src/common/events/handle_window_focused.rs @@ -24,10 +24,8 @@ pub fn handle_window_focused( // Ignore the focus event if: // 1. Window is being hidden by the WM. // 2. Focus is already set to the WM's focused container. - // 3. Window is not actually the foreground window. if window.display_state() == DisplayState::Hiding || state.focused_container() == Some(window.clone().into()) - || Platform::foreground_window() != native_window { return Ok(()); }