winit-core: move event

This commit is contained in:
Kirill Chibisov 2025-05-03 20:21:45 +09:00
parent 056421546a
commit 79fa4061cb
11 changed files with 46 additions and 36 deletions

View file

@ -399,7 +399,7 @@ impl Event {
} => Event::BufferedScaleFactorChanged(
window_id.into_raw() as HWND,
scale_factor,
*surface_size_writer.new_surface_size.upgrade().unwrap().lock().unwrap(),
surface_size_writer.surface_size().unwrap(),
),
event => event,
}