Function input_sys::libinput_device_config_tap_get_drag_lock_enabled [] [src]

pub unsafe extern "C" fn libinput_device_config_tap_get_drag_lock_enabled(
    device: *mut libinput_device
) -> libinput_config_drag_lock_state

@ingroup config

Check if drag-lock during tapping is enabled on this device. If the device does not support tapping, this function always returns @ref LIBINPUT_CONFIG_DRAG_LOCK_DISABLED.

Drag lock may be enabled even when tapping is disabled.

@param device The device to configure

@retval LIBINPUT_CONFIG_DRAG_LOCK_ENABLED If drag lock is currently enabled @retval LIBINPUT_CONFIG_DRAG_LOCK_DISABLED If drag lock is currently disabled

@see libinput_device_config_tap_set_drag_lock_enabled @see libinput_device_config_tap_get_default_drag_lock_enabled