Available nowhere.
Expand description
§0.23.0
- On iOS, fixed support for the “Debug View Hierarchy” feature in Xcode.
- On all platforms,
available_monitorsandprimary_monitorare now onEventLoopWindowTargetrather thanEventLoopto list monitors event in the event loop. - On Unix, X11 and Wayland are now optional features (enabled by default)
- On X11, fix deadlock when calling
set_fullscreen_inner. - On Web, prevent the webpage from scrolling when the user is focused on a winit canvas
- On Web, calling
window.set_cursor_iconno longer breaks HiDPI scaling - On Windows, drag and drop is now optional (enabled by default) and can be disabled with
WindowBuilderExtWindows::with_drag_and_drop(false). - On Wayland, fix deadlock when calling to
set_inner_sizefrom a callback. - On macOS, add
hide__other_applicationstoEventLoopWindowTargetvia existingEventLoopWindowTargetExtMacOStrait.hide_other_applicationswill hide other applications by calling-[NSApplication hideOtherApplications: nil]. - On android added support for
run_return. - On MacOS, Fixed fullscreen and dialog support for
run_return. - On Windows, fix bug where we’d try to emit
MainEventsClearedevents during nested win32 event loops. - On Web, use mouse events if pointer events aren’t supported. This affects Safari.
- On Windows,
set_ime_positionis now a no-op instead of a runtime crash. - On Android,
set_fullscreenis now a no-op instead of a runtime crash. - On iOS and Android,
set_inner_sizeis now a no-op instead of a runtime crash. - On Android, fix
ControlFlow::Pollnot polling the Android event queue. - On macOS, add
NSWindow.hasShadowsupport. - On Web, fix vertical mouse wheel scrolling being inverted.
- On Web, implement mouse capturing for click-dragging out of the canvas.
- On Web, fix
ControlFlow::Exitnot properly handled. - On Web (web-sys only), send
WindowEvent::ScaleFactorChangedevent whenwindow.devicePixelRatiois changed. - Breaking: On Web,
set_cursor_positionandset_cursor_grabwill now always return an error. - Breaking:
PixelDeltascroll events now return aPhysicalPosition. - On NetBSD, fixed crash due to incorrect detection of the main thread.
- Breaking: On X11,
-key is mapped to theMinusvirtual key code, instead ofSubtract. - On macOS, fix inverted horizontal scroll.
- Breaking:
current_monitornow returnsOption<MonitorHandle>. - Breaking:
primary_monitornow returnsOption<MonitorHandle>. - On macOS, updated core-* dependencies and cocoa.
- Bump
parking_lotto 0.11 - On Android, bump
ndk,ndk-sysandndk-glueto 0.2. Checkout the new ndk-glue main proc attribute. - On iOS, fixed starting the app in landscape where the view still had portrait dimensions.
- Deprecate the stdweb backend, to be removed in a future release
- Breaking: Prefixed virtual key codes
Add,Multiply,Divide,Decimal, andSubtractwithNumpad. - Added
AsteriskandPlusvirtual key codes. - On Web (web-sys only), the
Event::LoopDestroyedevent is correctly emitted when leaving the page. - On Web, the
WindowEvent::Destroyedevent now gets emitted when aWindowis dropped. - On Web (web-sys only), the event listeners are now removed when a
Windowis dropped or when the event loop is destroyed. - On Web, the event handler closure passed to
EventLoop::runnow gets dropped after the event loop is destroyed. - Breaking: On Web, the canvas element associated to a
Windowis no longer removed from the DOM when theWindowis dropped. - On Web,
WindowEvent::Resizedis now emitted whenWindow::set_inner_sizeis called. - Breaking:
Fullscreenenum now usesBorderless(Option<MonitorHandle>)instead ofBorderless(MonitorHandle)to allow picking the current monitor. - On MacOS, fix
WindowEvent::Movedignoring the scale factor. - On Wayland, add missing virtual keycodes.
- On Wayland, implement proper
set_cursor_grab. - On Wayland, the cursor will use similar icons if the requested one isn’t available.
- On Wayland, right clicking on client side decorations will request application menu.
- On Wayland, fix tracking of window size after state changes.
- On Wayland, fix client side decorations not being hidden properly in fullscreen.
- On Wayland, fix incorrect size event when entering fullscreen with client side decorations.
- On Wayland, fix
resizableattribute not being applied properly on startup. - On Wayland, fix disabled repeat rate not being handled.
- On Wayland, fix decoration buttons not working after tty switch.
- On Wayland, fix scaling not being applied on output re-enable.
- On Wayland, fix crash when
XCURSOR_SIZEis0. - On Wayland, fix pointer getting created in some cases without pointer capability.
- On Wayland, on kwin, fix space between window and decorations on startup.
- Breaking: On Wayland,
Themetrait was reworked. - On Wayland, disable maximize button for non-resizable window.
- On Wayland, added support for
set_ime_position. - On Wayland, fix crash on startup since GNOME 3.37.90.
- On X11, fix incorrect modifiers state on startup.