Skip to content

[YANKED] Winit version 0.30.6

Compare
Choose a tag to compare
@kchibisov kchibisov released this 21 Dec 06:07
· 179 commits to master since this release
v0.30.6

Added

  • On macOS, add WindowExtMacOS::set_borderless_game and WindowAttributesExtMacOS::with_borderless_game
    to fully disable the menu bar and dock in Borderless Fullscreen as commonly done in games.
  • On X11, the window example now understands the X11_VISUAL_ID and X11_SCREEN_ID env
    variables to test the respective modifiers of window creation.
  • On Android, the soft keyboard can now be shown using Window::set_ime_allowed.
  • Add basic iOS IME support. The soft keyboard can now be shown using Window::set_ime_allowed.

Fixed

  • On macOS, fix WindowEvent::Moved sometimes being triggered unnecessarily on resize.
  • On macOS, package manifest definitions of LSUIElement will no longer be overridden with the
    default activation policy, unless explicitly provided during initialization.
  • On macOS, fix crash when calling drag_window() without a left click present.
  • On X11, key events forward to IME anyway, even when it's disabled.
  • On Windows, make ControlFlow::WaitUntil work more precisely using CREATE_WAITABLE_TIMER_HIGH_RESOLUTION.
  • On X11, creating windows on screen that is not the first one (e.g. DISPLAY=:0.1) works again.
  • On X11, creating windows while passing with_x11_screen(non_default_screen) works again.
  • On X11, fix XInput handling that prevented a new window from getting the focus in some cases.
  • On macOS, fix crash when pressing Caps Lock in certain configurations.
  • On iOS, fixed MonitorHandle's PartialEq and Hash implementations.
  • On macOS, fixed undocumented cursors (e.g. zoom, resize, help) always appearing to be invalid and falling back to the default cursor.