Fix intermittent drag-and-drop freezing on Windows
This commit is contained in:
parent
2d897380a0
commit
71fce48347
@ -529,7 +529,11 @@ impl<T: BufferedEvent> ApplicationHandler<T> for WinitAppRunnerState<T> {
|
|||||||
.iter()
|
.iter()
|
||||||
.all(|(_, w)| !w.is_visible().unwrap_or(false));
|
.all(|(_, w)| !w.is_visible().unwrap_or(false));
|
||||||
if !exiting
|
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);
|
self.redraw_requested(event_loop);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user