From 04ea367e3baa7e51933e9a595da793b4c8a4aa8f Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Thu, 13 Jul 2023 05:31:26 +0000 Subject: Raise double click threshold to 400ms This should improve the situation with some touchpads. GTK4 is also using the same value. --- alacritty/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src') 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. /// -- cgit