Skip to main content

set_pointer_icon

Function set_pointer_icon 

Source
pub fn set_pointer_icon(icon: PointerIcon)
Expand description

Requests icon as the pointer’s appearance.

Called by the shell once per pointer move with whatever the hovered region asks for. Setting the icon the session already holds does nothing, so a pointer travelling across one region does not re-upload its cursor.