diff --git a/src/miral/basic_window_manager.cpp b/src/miral/basic_window_manager.cpp index c4490d0e38..106bfea3c7 100644 --- a/src/miral/basic_window_manager.cpp +++ b/src/miral/basic_window_manager.cpp @@ -288,9 +288,6 @@ void miral::BasicWindowManager::refocus( if (hint && select_active_window(hint)) return; - if (can_activate_window_for_session_in_workspace(application, workspaces_containing_window)) - return; - // Try to activate to recently active window of any application in a shared workspace { miral::Window new_focus; @@ -2993,4 +2990,4 @@ void miral::BasicWindowManager::move_cursor_to(mir::geometry::PointF point) sink->handle_input(std::move(event)); }); }); -} \ No newline at end of file +}