Skip to content

Commit 83c0f92

Browse files
authored
Merge pull request #71 from rust-windowing/dependencies
Update dependencies
2 parents fec8dec + dce6cbc commit 83c0f92

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ x11rb = { version = "0.11.0", features = ["allow-unsafe-code", "dl-libxcb", "shm
3636
fastrand = { version = "1.8.0", optional = true }
3737

3838
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
39-
version = "0.42.0"
39+
version = "0.45.0"
4040
features = ["Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging", "Win32_Foundation"]
4141

4242
[target.'cfg(target_os = "macos")'.dependencies]
@@ -60,7 +60,7 @@ cfg_aliases = "0.1.1"
6060

6161
[dev-dependencies]
6262
instant = "0.1.12"
63-
winit = "0.27.2"
63+
winit = "0.28.1"
6464

6565
[dev-dependencies.image]
6666
version = "0.23.14"

examples/winit.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ fn main() {
5454
} if window_id == window.id() => {
5555
*control_flow = ControlFlow::Exit;
5656
}
57-
Event::WindowEvent {
58-
event: WindowEvent::Resized(_),
59-
window_id,
60-
} if window_id == window.id() => {
61-
window.request_redraw();
62-
}
6357
_ => {}
6458
}
6559
});

0 commit comments

Comments
 (0)