Function libinput_seat_unref
pub unsafe extern "C" fn libinput_seat_unref(
seat: *mut libinput_seat,
) -> *mut libinput_seat
Expand description
@ingroup seat
Decrease 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 NULL if seat was destroyed, otherwise the passed seat