Function wayland_client::core::default_display [] [src]

pub fn default_display() -> Option<Display>

Tries to connect to the default wayland display.

If the WAYLAND_DISPLAY environment variable is set, it will be used. Otherwise it defaults to "wayland-0".

Will return None if either: