Sourced from winit's releases.
Winit version 0.30.10
Added
- On Windows, add
IconExtWindows::from_resource_name
.- On Windows, add
CursorGrabMode::Locked
.- On Wayland, add
WindowExtWayland::xdg_toplevel
.Changed
- On macOS, no longer need control of the main
NSApplication
class (which means you can now override it yourself).- On iOS, remove custom application delegates. You are now allowed to override the application delegate yourself.
- On iOS, no longer act as-if the application successfully open all URLs. Override
application:didFinishLaunchingWithOptions:
and provide the desired behaviour yourself.Fixed
- On Windows, fixed ~500 ms pause when clicking the title bar during continuous redraw.
- On macOS,
WindowExtMacOS::set_simple_fullscreen
now honorsWindowExtMacOS::set_borderless_game
- On X11 and Wayland, fixed pump_events with
Some(Duration::Zero)
blocking withWait
polling mode- On Wayland, fixed a crash when consequently calling
set_cursor_grab
without pointer focus.- On Wayland, ensure that external event loop is woken-up when using pump_events and integrating via
FD
.- On Wayland, apply fractional scaling to custom cursors.
- On macOS, fixed
run_app_on_demand
returning without closing open windows.- On macOS, fixed
VideoMode::refresh_rate_millihertz
for fractional refresh rates.- On macOS, store monitor handle to avoid panics after going in/out of sleep.
- On macOS, allow certain invalid monitor handles and return
None
instead of panicking.- On Windows, fixed
Ime::Preedit
cursor offset calculation.
2385410
Winit version 0.30.106db1343
wayland: bump wayland-rs to avoid yanked releasea26899a
windows: fix incorrect cursor_range calculation in Ime::Preedit80bddda
macOS: Fix monitors connected via certain Thunderbolt hubs5f1e9f6
macOS: Store UUID in MonitorHandle instead of CGDirectDisplayID57baf72
Allow the user to register the application delegate on iOSda7a096
fix: Support fractional refresh rates in video modes on macOS (#4191)53321dc
Swizzle sendEvent: instead of subclassing NSApplication6556cde
macOS: Close windows automatically when exiting7672fd5
wayland: support fractional scale for custom cursor