You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking on "Close window" via the windows task bar is ignored in winit_input_helper.
The CloseRequested event is sent between two steps, after an AboutToWait and before a NewEvents(_), so when the NewEvents(_) arrives, the step begins and reset WinitInputHelper::close_requested to false.
Thankyou for the thorough investigation!
Its not clear to me if winit is breaking its contract by returning events between an AboutToWait and a NewEvent, I'll raise an issue on their repo to get it clarified.
Clicking on "Close window" via the windows task bar is ignored in winit_input_helper.
The
CloseRequested
event is sent between two steps, after anAboutToWait
and before aNewEvents(_)
, so when theNewEvents(_)
arrives, the step begins and resetWinitInputHelper::close_requested
tofalse
.With
ControlFlow::Poll
:Without
ControlFlow::Poll
:The text was updated successfully, but these errors were encountered: