x11rb::protocol::xinput

Function xi_grab_device

Source
pub fn xi_grab_device<'c, 'input, Conn, A, B>(
    conn: &'c Conn,
    window: Window,
    time: A,
    cursor: Cursor,
    deviceid: B,
    mode: GrabMode,
    paired_device_mode: GrabMode,
    owner_events: GrabOwner,
    mask: &'input [u32],
) -> Result<Cookie<'c, Conn, XIGrabDeviceReply>, ConnectionError>