Module wayland

Source
Expand description

Winit’s Wayland backend.

Re-exports§

pub use crate::platform_impl::platform::OsError;
pub use crate::platform_impl::platform::WindowId;
pub use event_loop::ActiveEventLoop;
pub use event_loop::EventLoop;
pub use event_loop::EventLoopProxy;
pub use output::MonitorHandle;
pub use output::VideoModeHandle;
pub use window::Window;

Modules§

event_loop 🔒
The event-loop routines.
output 🔒
seat 🔒
Seat handling.
state 🔒
types 🔒
Wayland protocol implementation boilerplate.
window 🔒
The Wayland window.

Structs§

DeviceId
Dummy device id, since Wayland doesn’t have device events.

Enums§

WaylandError

Functions§

logical_to_physical_rounded 🔒
The default routine does floor, but we need round on Wayland.
make_wid 🔒
Get the WindowId out of the surface.