Function set_double_click_distance

Source
pub fn set_double_click_distance(distance: i32)
Expand description

Sets the maximum distance between two clicks to be registered as a double click by the compositor.

This only affects interactions with the compositor UI and has no effect on applications.

Setting a negative distance disables double clicks.

The default is 5.