pub fn registry_queue_init<State>(
    conn: &Connection
) -> Result<(GlobalList, EventQueue<State>), GlobalError>
where State: Dispatch<WlRegistry, GlobalListContents> + 'static,
Expand description

Initialize a new event queue with its associated registry and retrieve the initial list of globals

See the module level documentation for more.