Available nowhere.
Expand description
§0.14.0
- Created the
Copy,PasteandCutVirtualKeyCodes and added support for them on X11 and Wayland - Fix
.with_decorations(false)in macOS - On Mac,
NSWindowand supporting objects might be alive long after they wereclosedwhich resulted in apps consuming more heap then needed. Mainly it was affecting multi window applications. Not expecting any user visible change of behaviour after the fix. - Fix regression of Window platform extensions for macOS where
NSFullSizeContentViewWindowMaskwas not being correctly applied to.fullsize_content_view. - Corrected
get_positionon Windows to be relative to the screen rather than to the taskbar. - Corrected
Movedevent on Windows to use position values equivalent to those returned byget_position. It previously supplied client area positions instead of window positions, and would additionally interpret negative values as being very large (aroundu16::MAX). - Implemented
Movedevent on macOS. - On X11, the
Movedevent correctly use window positions rather than client area positions. Additionally, a strayMovedthat unconditionally accompaniedResizedwith the client area position relative to the parent has been eliminated;Movedis still received alongsideResized, but now only once and always correctly. - On Windows, implemented all variants of
DeviceEventother thanText. MouseDeviceEvents are now received even if the window isn’t in the foreground. DeviceIdon Windows is no longer a unit struct, and now contains au32. ForWindowEvents, this will always be 0, but onDeviceEvents it will be the handle to that device.DeviceIdExt::get_persistent_identifiercan be used to acquire a unique identifier for that device that persists across replugs/reboots/etc.- Corrected
run_foreveron X11 to stop discardingAwakenedevents. - Various safety and correctness improvements to the X11 backend internals.
- Fixed memory leak on X11 every time the mouse entered the window.
- On X11, drag and drop now works reliably in release mode.
- Added
WindowBuilderExt::with_resize_incrementsandWindowBuilderExt::with_base_sizeto X11, allowing for more optional hints to be set. - Rework of the wayland backend, migrating it to use Smithay’s Client Toolkit.
- Added
WindowBuilder::with_window_iconandWindow::set_window_icon, finally making it possible to set the window icon on Windows and X11. Theicon_loadingfeature can be enabled to allow for icons to be easily loaded; see example programwindow_icon.rsfor usage. - Windows additionally has
WindowBuilderExt::with_taskbar_iconandWindowExt::set_taskbar_icon. - On Windows, fix panic when trying to call
set_fullscreen(None)on a window that has not been fullscreened prior.