x11rb::protocol::xinput

Function grab_device

Source
pub fn grab_device<'c, 'input, Conn, A>(
    conn: &'c Conn,
    grab_window: Window,
    time: A,
    this_device_mode: GrabMode,
    other_device_mode: GrabMode,
    owner_events: bool,
    device_id: u8,
    classes: &'input [EventClass],
) -> Result<Cookie<'c, Conn, GrabDeviceReply>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<Timestamp>,