Skip to content

Commit

Permalink
locally to test on winit 89aa7cc0, 1 winit api change
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Jul 20, 2023
1 parent 7c0b333 commit f239452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bevy_utils = { path = "../bevy_utils", version = "0.12.0-dev" }
bevy_tasks = { path = "../bevy_tasks", version = "0.12.0-dev" }

# other
# Tested on rev = 6300cf91
# Tested on rev = 89aa7cc0
winit = { git = "https://github.com/rust-windowing/winit.git", branch = "master", default-features = false }
accesskit_winit = { git = "https://github.com/Vrixyz/accesskit.git", branch = "winit-main-after-0.28", default-features = false, features = [
"async-io",
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_winit/src/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub(crate) fn changed_window(
window.resolution.physical_width(),
window.resolution.physical_height(),
);
winit_window.set_inner_size(physical_size);
let _ = winit_window.request_inner_size(physical_size);
}

if window.physical_cursor_position() != cache.window.physical_cursor_position() {
Expand Down

0 comments on commit f239452

Please sign in to comment.