Module winit::platform::x11

source ·
Available on x11_platform only.

Enums

  • XNotSupported(x11_platform or wayland_platform) and free_unix
    Error returned if this system doesn’t have XLib or can’t create an X connection.
  • XWindowType(x11_platform or wayland_platform) and free_unix
    X window type. Maps directly to _NET_WM_WINDOW_TYPE.

Traits

Functions

Type Definitions

  • The first argument in the provided hook will be the pointer to XDisplay and the second one the pointer to XErrorEvent. The returned bool is an indicator whether the error was handled by the callback.