Function input_sys::libinput_seat_ref [] [src]

pub unsafe extern fn libinput_seat_ref(seat: *mut libinput_seat)
                                       -> *mut libinput_seat

@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