Skip to main content

Module wayland

Module wayland 

Expand description

§Wayland

Note: Windows don’t appear on Wayland until you draw/present to them.

By default, Winit loads system libraries using dlopen. This can be disabled by disabling the "wayland-dlopen" cargo feature.

§Client-side decorations

Winit provides client-side decorations by default, but the behaviour can be controlled with the following feature flags:

  • wayland-csd-adwaita (default).
  • wayland-csd-adwaita-crossfont.
  • wayland-csd-adwaita-notitle.

Modules§

private_text_input_protocol

Enums§

Theme
The theme variant to use.
WaylandPresentation
Outcome of the exact surface commit observed through wp_presentation. Times use the clock advertised by the compositor, never callback receipt time.

Traits§

ActiveEventLoopExtWayland
Additional methods on ActiveEventLoop that are specific to Wayland.
EventLoopBuilderExtWayland
Additional methods on EventLoopBuilder that are specific to Wayland.
EventLoopExtWayland
Additional methods on EventLoop that are specific to Wayland.
KeyEventExtWayland
Content-free identity of a key delivered by the Wayland compositor. The timestamp is the protocol’s wrapping millisecond clock, not an assumed Unix/monotonic epoch. Repeats and synthesized keys have no stamp.
MonitorHandleExtWayland
Additional methods on MonitorHandle that are specific to Wayland.
WindowAttributesExtWayland
Additional methods on WindowAttributes that are specific to Wayland.
WindowExtWayland
Additional methods on Window that are specific to Wayland.

Type Aliases§

WaylandPresentationObserver
One-shot observation of the next surface commit. No pixels or input text.