pub fn get_motion_events<Conn, A, B>(
    conn: &Conn,
    window: Window,
    start: A,
    stop: B
) -> Result<Cookie<'_, Conn, GetMotionEventsReply>, ConnectionError>