Not receiving RedrawRequested
events for all windows that .request_redraw()
#3648
Labels
RedrawRequested
events for all windows that .request_redraw()
#3648
Description
When I create multiple windows with winit, and for each window call
window.request_redraw()
in theAboutToWait
handler, I do not receive the correspondingWindowEvent::RedrawRequested
for all of the windows that requested.minimal reproduction:
output observed:
that is, I only receive the
RedrawRequested
event for the last 2 windows.If I also call
request_redraw()
inside theRedrawRequested
handler for the given window, as follows:then I observe the following:
that is, I receive two consecutive
RedrawRequested
events (sometimes just 1), but only ever for the last window.Neither approach behaves as I would expect. I would expect to reliably receive a single
RedrawRequested
event for each windowWindows version
Winit version
v0.29.15
The text was updated successfully, but these errors were encountered: