Expand description
§Winit’s Wayland backend.
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.wayland-csd-adwaita-notitlebar.
Structs§
- Active
Event Loop - Event
Loop - The Wayland event loop.
- Window
- The Wayland window.
- Window
Attributes Wayland - Window attributes methods specific to Wayland.
Traits§
- Active
Event Loop ExtWayland - Additional methods on
ActiveEventLoopthat are specific to Wayland. - Event
Loop Builder ExtWayland - Additional methods when building event loop that are specific to Wayland.
- Event
Loop ExtWayland - Additional methods on
EventLoopthat are specific to Wayland. - Window
ExtWayland - Additional methods on
Windowthat are specific to Wayland.