This commit is contained in:
Zach Bateman 2025-07-17 14:28:15 +08:00 committed by GitHub
commit 6a57db30a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -529,7 +529,11 @@ impl<T: BufferedEvent> ApplicationHandler<T> for WinitAppRunnerState<T> {
.iter()
.all(|(_, w)| !w.is_visible().unwrap_or(false));
if !exiting
&& (self.startup_forced_updates > 0 || headless || all_invisible || reactive)
&& (self.startup_forced_updates > 0
|| headless
|| all_invisible
|| reactive
|| self.window_event_received)
{
self.redraw_requested(event_loop);
}