pub fn move_cursor_to_window(&self, window: xlib::Window) -> Result<(), XlibError> {
        let attrs = self.get_window_attrs(window)?;
        let point = (attrs.x + (attrs.width / 2), attrs.y + (attrs.height / 2));
        self.move_cursor_to_point(point)
    }
Move the cursor to a window.
# Errors

Will error if unable to obtain window attributes. See `get_window_attrs`.
display-servers/xlib-display-server/src/xwrap/mouse.rs