Skip to main content

cursor_surface_hotspot

Function cursor_surface_hotspot 

Source
pub(crate) fn cursor_surface_hotspot(surface: &WlSurface) -> Point<i32, Logical>
Expand description

Hotspot of a surface-backed cursor, in the surface’s logical coordinates (zero when the client set none). The sprite is placed at pointer - hotspot, like named and X11 cursors.