Function libinput_seat_ref
pub unsafe extern "C" fn libinput_seat_ref(
seat: *mut libinput_seat,
) -> *mut libinput_seat
Expand description
@ingroup seat
Increase the refcount of the seat. A seat will be freed whenever the refcount reaches 0. This may happen during libinput_dispatch() if the seat was removed from the system. A caller must ensure to reference the seat correctly to avoid dangling pointers.
@param seat A previously obtained seat @return The passed seat