Function wayland_client::wayland::get_display [] [src]

pub fn get_display() -> Result<(WlDisplay, EventIterator)ConnectError>

Connect to the compositor socket

Attempt to connect to a Wayland compositor according to the environment variables.