| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-04-30 | 1.6 kB | |
| Winit version 0.30.10 source code.tar.gz | 2025-04-30 | 612.0 kB | |
| Winit version 0.30.10 source code.zip | 2025-04-30 | 735.1 kB | |
| Totals: 3 Items | 1.3 MB | 0 | |
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
NSApplicationclass (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_fullscreennow honorsWindowExtMacOS::set_borderless_game - On X11 and Wayland, fixed pump_events with
Some(Duration::Zero)blocking withWaitpolling mode - On Wayland, fixed a crash when consequently calling
set_cursor_grabwithout 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_demandreturning without closing open windows. - On macOS, fixed
VideoMode::refresh_rate_millihertzfor 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
Noneinstead of panicking. - On Windows, fixed
Ime::Preeditcursor offset calculation.