x11rb::protocol::xproto

Function create_cursor

Source
pub fn create_cursor<Conn, A>(
    conn: &Conn,
    cid: Cursor,
    source: Pixmap,
    mask: A,
    fore_red: u16,
    fore_green: u16,
    fore_blue: u16,
    back_red: u16,
    back_green: u16,
    back_blue: u16,
    x: u16,
    y: u16,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<Pixmap>,