Make `cursor_geometry()` return a `CursorGeometry` struct