Function wayland_client::default_connect
[−]
[src]
pub fn default_connect() -> Result<(WlDisplay, EventQueue), ConnectError>
Connect to the compositor socket
Attempt to connect to a Wayland compositor according to the environment variables.
On success, returns the display object, as well as the default event iterator associated with it.