On X11, check common alternative cursor names when loading cursor.
On X11, reload the DPI after a property change event.
On Windows, fix so drag_window and drag_resize_window can be called from another thread.
On Windows, fix set_control_flow in AboutToWait not being taken in account.
On macOS, send a Resized event after each ScaleFactorChanged event.
On Wayland, fix wl_surface being destroyed before associated objects.
On macOS, fix assertion when pressing Fn key.
0.29.3
On Wayland, apply correct scale to PhysicalSize passed in WindowBuilder::with_inner_size when possible.
On Wayland, fix RedrawRequsted being always sent without decorations and sctk-adwaita feature.
On Wayland, ignore resize requests when the window is fully tiled.
On Wayland, use configure_bounds to constrain with_inner_size when compositor wants users to pick size.
On Windows, fix deadlock when accessing the state during Cursor{Enter,Leave}.
On Windows, add support for Window::set_transparent.
On macOS, fix deadlock when entering a nested event loop from an event handler.
On macOS, add support for Window::set_blur.
0.29.2
Breaking: Bump MSRV from 1.60 to 1.65.
Breaking: Add Event::MemoryWarning; implemented on iOS/Android.
Breaking: Bump ndk version to 0.8.0, ndk-sys to 0.5.0, android-activity to 0.5.0.
Breaking: Change default ControlFlow from Poll to Wait.
Breaking: Move Event::RedrawRequested to WindowEvent::RedrawRequested.
Breaking: Moved ControlFlow::Exit to EventLoopWindowTarget::exit() and EventLoopWindowTarget::exiting() and removed ControlFlow::ExitWithCode(_) entirely.
Breaking: Moved ControlFlow to EventLoopWindowTarget::set_control_flow() and EventLoopWindowTarget::control_flow().
Breaking:EventLoop::new and EventLoopBuilder::build now return Result<Self, EventLoopError>
Breaking:WINIT_UNIX_BACKEND was removed in favor of standard WAYLAND_DISPLAY and DISPLAY variables.
Breaking: on Wayland, dispatching user created Wayland queue won't wake up the loop unless winit has event to send back.
Breaking: remove DeviceEvent::Text.
Breaking: Remove lifetime parameter from Event and WindowEvent.
Breaking: Rename Window::set_inner_size to Window::request_inner_size and indicate if the size was applied immediately.
Breaking:ActivationTokenDone event which could be requested with the new startup_notify module, see its docs for more.
Breaking:ScaleFactorChanged now contains a writer instead of a reference to update inner size.
Breakingrun() -> ! has been replaced by run() -> Result<(), EventLoopError> for returning errors without calling std::process::exit() (#2767)
Breaking Removed EventLoopExtRunReturn / run_return in favor of EventLoopExtPumpEvents / pump_events and EventLoopExtRunOnDemand / run_on_demand (#2767)
RedrawRequested is no longer guaranteed to be emitted after MainEventsCleared, it is now platform-specific when the event is emitted after being requested via redraw_request().
On Windows, RedrawRequested is now driven by WM_PAINT messages which are requested via redraw_request()
BreakingLoopDestroyed renamed to LoopExiting (#2900)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on winit to permit the latest version.
Release notes
Sourced from winit's releases.
Changelog
Sourced from winit's changelog.
... (truncated)
Commits
43f29f0
Winit version 0.29.4266219f
On X11, reload DPI on PropertyChange7449534
Fix infinite recursion inBadIcon
reporting (#3237)7aa202b
Make Android docs build on docs.rs (#3236)06cec06
Fix crash when running iPad build on macOSf968e64
On macOS, fix assertion when pressingFn
keya973096
On Wayland, fix wl_surface being dropped firstdec45ce
On Windows, fixset_control_flow
from `AboutToWaitf709ac6
On macOS, send a Resized event after ScaleFactorChangedecbe04c
On X11, try alternative cursor icon names as wellDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show