diff --git a/crates/bevy_winit/src/state.rs b/crates/bevy_winit/src/state.rs index da3d9ebb8c245..1868a32a06571 100644 --- a/crates/bevy_winit/src/state.rs +++ b/crates/bevy_winit/src/state.rs @@ -478,6 +478,7 @@ impl ApplicationHandler for WinitAppRunnerState { mut adapters, mut handlers, accessibility_requested, + monitors, ) = create_window.get_mut(self.world_mut()); let winit_window = winit_windows.create_window( @@ -487,6 +488,7 @@ impl ApplicationHandler for WinitAppRunnerState { &mut adapters, &mut handlers, &accessibility_requested, + &monitors, ); let wrapper = RawHandleWrapper::new(winit_window).unwrap();