Update windows-sys dependency, and winit dev dependency

Using the latest `winit` version in examples fixes resizing behavior on
Wayland, so the workaround for that in the `winit` example is also
removed here.
This commit is contained in:
Ian Douglas Scott 2023-02-20 10:04:09 -08:00
parent fec8decc43
commit dce6cbc111
2 changed files with 2 additions and 8 deletions

View file

@ -54,12 +54,6 @@ fn main() {
} if window_id == window.id() => {
*control_flow = ControlFlow::Exit;
}
Event::WindowEvent {
event: WindowEvent::Resized(_),
window_id,
} if window_id == window.id() => {
window.request_redraw();
}
_ => {}
}
});