diff --git a/src/miral/minimal_window_manager.cpp b/src/miral/minimal_window_manager.cpp index 784606063b..ce79653101 100644 --- a/src/miral/minimal_window_manager.cpp +++ b/src/miral/minimal_window_manager.cpp @@ -308,7 +308,6 @@ void miral::MinimalWindowManager::advise_new_window(miral::WindowInfo const& win // "application" layer that don't have a parent. auto in_background = (self->focus_stealing == FocusStealing::prevent) && tools.active_window() && - (window_info.type() == mir_window_type_normal || window_info.type() == mir_window_type_freestyle) && window_info.depth_layer() == mir_depth_layer_application && !window_info.parent(); self->application_selector.advise_new_window(window_info, in_background);