projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
22c1545
)
fixed default values for move/drop distances for wipe gestures
author
Holger Schemel
<info@artsoft.org>
Fri, 11 May 2018 16:43:45 +0000
(18:43 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 5 Jun 2018 18:58:42 +0000
(20:58 +0200)
src/screens.c
patch
|
blob
|
history
diff --git
a/src/screens.c
b/src/screens.c
index 2dc2ad81bb100ad1c9c993dd3a7ab91c519df52d..458f9422473217ee0fd210ba6b3c189fbea08da3 100644
(file)
--- 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 =
/* 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)
/* 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 =
/* 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)
/* if that also fails, set current distance to first available value */
if (drop_distance_current == NULL)