[][src]Function input_sys::libinput_device_group_unref

pub unsafe extern "C" fn libinput_device_group_unref(
    group: *mut libinput_device_group
) -> *mut libinput_device_group

@ingroup device

Decrease the refcount of the device group. A device group will be freed whenever the refcount reaches 0. This may happen during libinput_dispatch() if all devices of this group were removed from the system. A caller must ensure to reference the device group correctly to avoid dangling pointers.

@param group A previously obtained device group @return NULL if the device group was destroyed, otherwise the passed device group