pub fn cursor_position() -> Option<CursorPosition>Expand description
Return the current global cursor position without installing an input hook.
Returns None on unsupported platforms and on native Wayland, where the
compositor deliberately does not expose global pointer coordinates.