Repository navigation
v0.20.0-alpha6
Pre-release
Pre-release
·
1537 commits
to master
since this release
- On macOS, fix
set_cursor_visiblehides cursor outside of window. - On macOS, fix
CursorEnteredandCursorLeftevents fired at old window size. - On macOS, fix error when
set_fullscreenis called during fullscreen transition. - On all platforms except mobile and WASM, implement
Window::set_minimized. - On X11, fix
CursorEnteredevent being generated for non-winit windows. - On macOS, fix crash when starting maximized without decorations.
- On macOS, fix application not terminating on
run_return. - On Wayland, fix cursor icon updates on window borders when using CSD.
- On Wayland, under mutter(GNOME Wayland), fix CSD being behind the status bar, when starting window in maximized mode.
- On Windows, theme the title bar according to whether the system theme is "Light" or "Dark".
- Added
WindowEvent::ThemeChangedvariant to handle changes to the system theme. Currently only implemented on Windows. - Breaking: Changes to the
RedrawRequestedevent (#1041):RedrawRequestedhas been moved fromWindowEventtoEvent.EventsClearedhas been renamed toMainEventsCleared.RedrawRequestedis now issued only afterMainEventsCleared.RedrawEventsClearedis issued after each set ofRedrawRequestedevents.
- Implement synthetic window focus key events on Windows.
- Breaking: Change
ModifiersStateto abitflagsstruct. - On Windows, implement
VirtualKeyCodetranslation forLWinandRWin. - On Windows, fix closing the last opened window causing
DeviceEvents to stop getting emitted. - On Windows, fix
Window::set_visiblenot setting internal flags correctly. This resulted in some weird behavior. - Add
DeviceEvent::ModifiersChanged.- Deprecate
modifiersfields in other events in favor ofModifiersChanged.
- Deprecate
- On X11,
WINIT_HIDPI_FACTORnow dominatesXft.dpiwhen picking DPI factor for output. - On X11, add special value
randrforWINIT_HIDPI_FACTORto make winit use self computed DPI factor instead of the one fromXft.dpi.