Skip to content

Commit

Permalink
chore: Rebase on latest master
Browse files Browse the repository at this point in the history
Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull committed Feb 7, 2024
1 parent cfd35d2 commit d28c867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions winit/src/platform_impl/windows/event_loop/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,12 @@ impl<T> BufferedEvent<T> {

if inner_size != new_inner_size {
let window_flags = unsafe {
let userdata =
get_window_long(u64::from(window_id) as HWND, GWL_USERDATA) as *mut WindowData;
let userdata = get_window_long(u64::from(window_id) as HWND, GWL_USERDATA)
as *mut WindowData;
(*userdata).window_state_lock().window_flags
};

window_flags.set_size((window_id.0).0, inner_size);
window_flags.set_size(u64::from(window_id) as HWND, inner_size);
}
}
}
Expand Down

0 comments on commit d28c867

Please sign in to comment.