Available nowhere.
Expand description
§0.15.1
- On X11, the
Movedevent is no longer sent when the window is resized without changing position. MouseCursorandCursorStatenow implementDefault.WindowBuilder::with_resizableimplemented for Windows, X11, Wayland, and macOS.Window::set_resizableimplemented for Windows, X11, Wayland, and macOS.- On X11, if the monitor’s width or height in millimeters is reported as 0, the DPI is now 1.0 instead of +inf.
- On X11, the environment variable
WINIT_HIDPI_FACTORhas been added for overriding DPI factor. - On X11, enabling transparency no longer causes the window contents to flicker when resizing.
- On X11,
with_override_redirectnow actually enables override redirect. - macOS now generates
VirtualKeyCode::LAltandVirtualKeyCode::RAltinstead ofNonefor both. - On macOS,
VirtualKeyCode::RWinandVirtualKeyCode::LWinare no longer switched. - On macOS, windows without decorations can once again be resized.
- Fixed race conditions when creating an
EventsLoopon X11, most commonly manifesting as"[xcb] Unknown sequence number while processing queue". - On macOS,
CursorMovedandMouseInputevents are only generated if they occurs within the window’s client area. - On macOS, resizing the window no longer generates a spurious
MouseInputevent.
§0.15.0
Icon::to_cardinalsis no longer public, since it was never supposed to be.- Wayland: improve diagnostics if initialization fails
- Fix some system event key doesn’t work when focused, do not block keyevent forward to system on macOS
- On X11, the scroll wheel position is now correctly reset on i3 and other WMs that have the same quirk.
- On X11,
Window::get_current_monitornow reliably returns the correct monitor. - On X11,
Window::hidpi_factorreturns values from XRandR rather than the inaccurate values previously queried from the core protocol. - On X11, the primary monitor is detected correctly even when using versions of XRandR less than 1.5.
MonitorIdnow implementsDebug.- Fixed bug on macOS where using
with_decorations(false)would causeset_decorations(true)to produce a transparent titlebar with no title. - Implemented
MonitorId::get_positionon macOS. - On macOS,
Window::get_current_monitornow returns accurate values. - Added
WindowBuilderExt::with_resize_incrementsto macOS. - Breaking: On X11,
WindowBuilderExt::with_resize_incrementsandWindowBuilderExt::with_base_sizenow takeu32values rather thani32. - macOS keyboard handling has been overhauled, allowing for the use of dead keys, IME, etc. Right modifier keys are also no longer reported as being left.
- Added the
Window::set_ime_spot(x: i32, y: i32)method, which is implemented on X11 and macOS. - Breaking:
os::unix::WindowExt::send_xim_spot(x: i16, y: i16)no longer exists. Switch to the newWindow::set_ime_spot(x: i32, y: i32), which has equivalent functionality. - Fixed detection of
PauseandScrollkeys on Windows. - On Windows, alt-tabbing while the cursor is grabbed no longer makes it impossible to re-grab the cursor.
- On Windows, using
CursorState::Hidewhen the cursor is grabbed now ungrabs the cursor first. - Implemented
MouseCursor::NoneCursoron Windows. - Added
WindowBuilder::with_always_on_topandWindow::set_always_on_top. Implemented on Windows, macOS, and X11. - On X11,
WindowBuilderExtnow haswith_class,with_override_redirect, andwith_x11_window_typeto allow for more control over window creation.WindowExtadditionally hasset_urgent. - More hints are set by default on X11, including
_NET_WM_PIDandWM_CLIENT_MACHINE. Note that prior to this, theWM_CLASShint was automatically set to whatever value was passed towith_title. It’s now set to the executable name to better conform to expectations and the specification; if this is undesirable, you must explicitly useWindowBuilderExt::with_class.