Fix RedrawRequested not emitted on Wayland in resize

Fixes #2609.
This commit is contained in:
Kirill Chibisov
2022-12-29 21:06:46 +03:00
committed by GitHub
parent ee88e38f13
commit 2f52c23fa9
2 changed files with 8 additions and 0 deletions

View File

@@ -438,6 +438,13 @@ impl<T: 'static> EventLoop<T> {
.unwrap()
.refresh_frame = false;
// Queue redraw requested.
state
.window_user_requests
.get_mut(window_id)
.unwrap()
.redraw_requested = true;
physical_size
});