From 131ac4bdd9abf7dfd6e47616f175a96e5b98f55a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 11 May 2018 18:43:45 +0200 Subject: [PATCH] fixed default values for move/drop distances for wipe gestures --- src/screens.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/screens.c b/src/screens.c index 2dc2ad81..458f9422 100644 --- a/src/screens.c +++ b/src/screens.c @@ -5382,7 +5382,8 @@ static void execSetupTouch() /* if that fails, set current distance to reliable default value */ if (move_distance_current == NULL) move_distance_current = - getTreeInfoFromIdentifier(move_distances, i_to_a(1)); + getTreeInfoFromIdentifier(move_distances, + i_to_a(TOUCH_MOVE_DISTANCE_DEFAULT)); /* if that also fails, set current distance to first available value */ if (move_distance_current == NULL) @@ -5425,7 +5426,8 @@ static void execSetupTouch() /* if that fails, set current distance to reliable default value */ if (drop_distance_current == NULL) drop_distance_current = - getTreeInfoFromIdentifier(drop_distances, i_to_a(1)); + getTreeInfoFromIdentifier(drop_distances, + i_to_a(TOUCH_DROP_DISTANCE_DEFAULT)); /* if that also fails, set current distance to first available value */ if (drop_distance_current == NULL) -- 2.34.1