x11rb::protocol::xinput

Function xi_warp_pointer

Source
pub fn xi_warp_pointer<Conn, A>(
    conn: &Conn,
    src_win: Window,
    dst_win: Window,
    src_x: Fp1616,
    src_y: Fp1616,
    src_width: u16,
    src_height: u16,
    dst_x: Fp1616,
    dst_y: Fp1616,
    deviceid: A,
) -> Result<VoidCookie<'_, Conn>, ConnectionError>
where Conn: RequestConnection + ?Sized, A: Into<DeviceId>,