Function input_sys::libinput_device_config_tap_get_default_drag_lock_enabled[][src]

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

@ingroup config

Check if drag-lock during tapping is enabled by default 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 by default even when tapping is disabled by default.

@param device The device to configure

@retval LIBINPUT_CONFIG_DRAG_LOCK_ENABLED If drag lock is enabled by default @retval LIBINPUT_CONFIG_DRAG_LOCK_DISABLED If drag lock is disabled by default

@see libinput_device_config_tap_set_drag_lock_enabled @see libinput_device_config_tap_get_drag_lock_enabled