Available nowhere.
Expand description
§0.28.7
- Fix window size sometimes being invalid when resizing on macOS 14 Sonoma.
§0.28.6
- On macOS, fixed memory leak when getting monitor handle.
- On macOS, fix
Backspacebeing emitted when clearing preedit with it.
§0.28.5
- On macOS, fix
key_upbeing ignored whenImeis disabled.
§0.28.4
- On macOS, fix empty marked text blocking regular input.
- On macOS, fix potential panic when getting refresh rate.
- On macOS, fix crash when calling
Window::set_ime_positionfrom another thread.
§0.28.3
- Fix macOS memory leaks.
§0.28.2
- Implement
HasRawDisplayHandleforEventLoop. - On macOS, set resize increments only for live resizes.
- On Wayland, fix rare crash on DPI change
- Web: Added support for
Window::theme. - On Wayland, fix rounding issues when doing resize.
- On macOS, fix wrong focused state on startup.
- On Windows, fix crash on setting taskbar when using Visual Studio debugger.
- On macOS, resize simple fullscreen windows on windowDidChangeScreen events.
§0.28.1
- On Wayland, fix crash when dropping a window in multi-window setup.
§0.28.0
- On macOS, fixed
Ime::Commitpersisting for all input after interacting withIme. - On macOS, added
WindowExtMacOS::option_as_altandWindowExtMacOS::set_option_as_alt. - On Windows, fix window size for maximized, undecorated windows.
- On Windows and macOS, add
WindowBuilder::with_active. - Add
Window::is_minimized. - On X11, fix errors handled during
register_xlib_error_hookinvocation bleeding into winit. - Add
Window::has_focus. - On Windows, fix
Window::set_minimized(false)not working for windows minimized byWin + Dhotkey. - Breaking: On Web, touch input no longer fires
WindowEvent::Cursor*,WindowEvent::MouseInput, orDeviceEvent::MouseMotionlike other platforms, but instead it firesWindowEvent::Touch. - Breaking: Removed platform specific
WindowBuilder::with_parentAPI in favor ofWindowBuilder::with_parent_window. - On Windows, retain
WS_MAXIMIZEwindow style when un-minimizing a maximized window. - On Windows, fix left mouse button release event not being sent after
Window::drag_window. - On macOS, run most actions on the main thread, which is strictly more correct, but might make multithreaded applications block slightly more.
- On macOS, fix panic when getting current monitor without any monitor attached.
- On Windows and MacOS, add API to enable/disable window buttons (close, minimize, …etc).
- On Windows, macOS, X11 and Wayland, add
Window::set_theme. - Breaking: Remove
WindowExtWayland::wayland_set_csd_themeandWindowBuilderExtX11::with_gtk_theme_variant. - On Windows, revert window background to an empty brush to avoid white flashes when changing scaling.
- Breaking: Removed
Window::set_always_on_topand related APIs in favor ofWindow::set_window_level. - On Windows, MacOS and X11, add always on bottom APIs.
- On Windows, fix the value in
MouseButton::Other. - On macOS, add
WindowExtMacOS::is_document_editedandWindowExtMacOS::set_document_editedAPIs. - Breaking: Removed
WindowBuilderExtIOS::with_root_view_class; instead, you should use[[view layer] addSublayer: ...]to add an instance of the desired layer class (e.g.CAEAGLLayerorCAMetalLayer). Seevulkano-winorwgpufor examples of this. - On MacOS and Windows, add
Window::set_content_protected. - On MacOS, add
EventLoopBuilderExtMacOS::with_activate_ignoring_other_apps. - On Windows, fix icons specified on
WindowBuildernot taking effect for windows created after the first one. - On Windows and macOS, add
Window::titleto query the current window title. - On Windows, fix focusing menubar when pressing
Alt. - On MacOS, made
accepts_first_mouseconfigurable. - Migrated
WindowBuilderExtUnix::with_resize_incrementstoWindowBuilder. - Added
Window::resize_increments/Window::set_resize_incrementsto update resize increments at runtime for X11/macOS. - macOS/iOS: Use
objc2instead ofobjcinternally. - Breaking: Bump MSRV from
1.57to1.60. - Breaking: Split the
platform::unixmodule intoplatform::x11andplatform::wayland. The extension types are similarly renamed. - Breaking:: Removed deprecated method
platform::unix::WindowExtUnix::is_ready. - Removed
parking_lotdependency. - Breaking: On macOS, add support for two-finger touchpad magnification and rotation gestures with new events
WindowEvent::TouchpadMagnifyandWindowEvent::TouchpadRotate. Also add support for touchpad smart-magnification gesture with a new eventWindowEvent::SmartMagnify. - Breaking: On web, the
WindowBuilderExtWebSys::with_prevent_defaultsetting (enabled by default), now additionally prevents scrolling of the webpage in mobile browsers, previously it only disabled scrolling on desktop. - On Wayland,
wayland-csd-adwaitanow usesab_glyphinstead ofcrossfontto render the title for decorations. - On Wayland, a new
wayland-csd-adwaita-crossfontfeature was added to usecrossfontinstead ofab_glyphfor decorations. - On Wayland, if not otherwise specified use upstream automatic CSD theme selection.
- On X11, added
WindowExtX11::with_parentto create child windows. - Added support for
WindowBuilder::with_themeandWindow::themeto support per-window dark/light/system theme configuration on macos, windows and wayland. - On macOS, added support for
WindowEvent::ThemeChanged. - Breaking: Removed
WindowBuilderExtWindows::with_themeandWindowBuilderExtWayland::with_wayland_csd_themein favour ofWindowBuilder::with_theme. - Breaking: Removed
WindowExtWindows::themein favour ofWindow::theme. - Enabled
doc_auto_cfgwhen generating docs on docs.rs for feature labels. - Breaking: On Android, switched to using
android-activitycrate as a glue layer instead ofndk-glue. See README.md#Android for more details. (#2444) - Breaking: Removed support for
raw-window-handleversion0.4 - On Wayland,
RedrawRequestednot emitted during resize. - Add a
set_wait_timeoutfunction toControlFlowto allow waiting for aDuration. - Breaking: Remove the unstable
xlib_xconnection()function from the private interface. - Added Orbital support for Redox OS
- On X11, added
drag_resize_windowmethod. - Added
Window::set_transparentto provide a hint about transparency of the window on Wayland and macOS. - On macOS, fix the mouse buttons other than left/right/middle being reported as middle.
- On Wayland, support fractional scaling via the wp-fractional-scale protocol.
- On web, fix removal of mouse event listeners from the global object upon window destruction.
- Add WindowAttributes getter to WindowBuilder to allow introspection of default values.
- Added
Window::set_ime_purposefor setting the IME purpose, currently implemented on Wayland only.