x11rb

Function connect

Source
pub fn connect(
    dpy_name: Option<&str>,
) -> Result<(RustConnection, usize), ConnectError>
Expand description

Establish a new connection to an X11 server.

This function is identical to RustConnection::connect.