Function set_initial_focus

Source
pub fn set_initial_focus(
    input_focus: ResMut<'_, InputFocus>,
    window: Single<'_, Entity, With<PrimaryWindow>>,
)
Expand description

Sets the initial focus to the primary window, if any.