On Web, add EventLoopExtWebSys::(set_)poll_strategy() to allow setting
control flow strategies before starting the event loop.
On Web, add WaitUntilStrategy, which allows to set different strategies for
ControlFlow::WaitUntil. By default the Prioritized Task Scheduling API is
used, with a fallback to setTimeout() with a trick to circumvent throttling
to 4ms. But an option to use a Web worker to schedule the timer is available
as well, which commonly prevents any throttling when the window is not focused.
Changed
On macOS, set the window theme on the NSWindow instead of application-wide.
Fixed
On X11, build on arm platforms.
On macOS, fixed WindowBuilder::with_theme not having any effect on the window.
Winit version 0.30.2
Fixed
On Web, fix EventLoopProxy::send_event() triggering event loop immediately
when not called from inside the event loop. Now queues a microtask instead.
On Web, stop overwriting default cursor with CursorIcon::Default.
On Web, prevent crash when using InnerSizeWriter::request_inner_size().
On macOS, fix not working opacity for entire window.
Winit version 0.30.1
Added
Reexport raw-window-handle versions 0.4 and 0.5 as raw_window_handle_04 and raw_window_handle_05.
Implement ApplicationHandler for &mut references and heap allocations to something that implements ApplicationHandler.
Add traits EventLoopExtWayland and EventLoopExtX11, providing methods is_wayland and is_x11 on EventLoop.
Fixed
On macOS, fix panic on exit when dropping windows outside the event loop.
On macOS, fix window dragging glitches when dragging across a monitor boundary with different scale factor.
On macOS, fix the range in Ime::Preedit.
On macOS, use the system's internal mechanisms for queuing events.
On macOS, handle events directly instead of queuing when possible.
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)
Bumps winit from 0.30.0 to 0.30.3.
Release notes
Sourced from winit's releases.
Commits
d2d4d20
Winit version 0.30.3d8f4d8f
Web: implementWaitUntilStrategy
(#3739)a974640
Web: set control flow strategies onEventLoop
(#3740)3d7d766
macOS: set the theme on the NSWindow, instead of application-widec73d8cf
x11: fix build on arm79aa95b
Winit version 0.30.2ecd1468
Revert: Web: don't wait for polling when sending eventsb512ed1
macOS: fix opacity handling96388f4
chore: address 1.79 clippy lints1745b01
Web: fix crashInnerSizeWriter::request_inner_size()
(#3727)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