diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2023-07-13 05:31:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 05:31:26 +0000 |
commit | 04ea367e3baa7e51933e9a595da793b4c8a4aa8f (patch) | |
tree | 1be4032fc48d6cb68216460004b37c0114e5f0df /alacritty/src/input.rs | |
parent | da7d7c00e415b313e143e935ee3aba7184eeb3f7 (diff) | |
download | r-alacritty-04ea367e3baa7e51933e9a595da793b4c8a4aa8f.tar.gz r-alacritty-04ea367e3baa7e51933e9a595da793b4c8a4aa8f.tar.bz2 r-alacritty-04ea367e3baa7e51933e9a595da793b4c8a4aa8f.zip |
Raise double click threshold to 400ms
This should improve the situation with some touchpads. GTK4 is also
using the same value.
Diffstat (limited to 'alacritty/src/input.rs')
-rw-r--r-- | alacritty/src/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs index c73ae676..f43d9ec7 100644 --- a/alacritty/src/input.rs +++ b/alacritty/src/input.rs @@ -70,7 +70,7 @@ const TOUCH_SCROLL_FACTOR: f64 = 0.35; const MAX_TAP_DISTANCE: f64 = 20.; /// Threshold used for double_click/triple_click. -const CLICK_THRESHOLD: Duration = Duration::from_millis(300); +const CLICK_THRESHOLD: Duration = Duration::from_millis(400); /// Processes input from winit. /// |