pub fn set_cursor(
fd: BorrowedFd<'_>,
crtc_id: u32,
buf_id: u32,
width: u32,
height: u32,
) -> Result<drm_mode_cursor>
👎Deprecated: use a cursor plane instead
Expand description
Set cursor state
The buffer must be allocated using the buffer manager of the driver (GEM or TTM). It is not allowed to be a dumb buffer.