x11rb::protocol::xinput

Function set_device_focus

Source
pub fn set_device_focus<Conn, A, B>(
    conn: &Conn,
    focus: A,
    time: B,
    revert_to: InputFocus,
    device_id: u8,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<Window>, B: Into<Timestamp>,