cedric pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=b9e793053d542aadf97a6e10a2a0621d13bb64a9
commit b9e793053d542aadf97a6e10a2a0621d13bb64a9 Author: Thierry <thie...@substantiel.fr> Date: Fri Oct 16 13:29:19 2015 -0700 mouse_config: fix accel threshold and numerator limits. man xset => If the `threshold' parameter is provided and 0, the `acceleration' parameter will be used in the exponent of a more natural and continuous formula, giving precise control for slow motion but big reach for fast motion, and a progressive transition for motions in between. Recommended `acceleration' value in this case is 3/2 to 3, but not limited to that range. --- src/bin/e_config.c | 4 ++-- src/modules/conf_interaction/e_int_config_mouse.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 74fe11e..b8043b3 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -1466,9 +1466,9 @@ e_config_load(void) E_CONFIG_LIMIT(e_config->clientlist_limit_caption_len, 0, 1); E_CONFIG_LIMIT(e_config->clientlist_max_caption_len, 2, E_CLIENTLIST_MAX_CAPTION_LEN); - E_CONFIG_LIMIT(e_config->mouse_accel_numerator, 1, 10); + E_CONFIG_LIMIT(e_config->mouse_accel_numerator, 1, 30); E_CONFIG_LIMIT(e_config->mouse_accel_denominator, 1, 10); - E_CONFIG_LIMIT(e_config->mouse_accel_threshold, 1, 10); + E_CONFIG_LIMIT(e_config->mouse_accel_threshold, 0, 10); E_CONFIG_LIMIT(e_config->menu_favorites_show, 0, 1); E_CONFIG_LIMIT(e_config->menu_apps_show, 0, 1); diff --git a/src/modules/conf_interaction/e_int_config_mouse.c b/src/modules/conf_interaction/e_int_config_mouse.c index dadad8c..e807809 100644 --- a/src/modules/conf_interaction/e_int_config_mouse.c +++ b/src/modules/conf_interaction/e_int_config_mouse.c @@ -201,7 +201,7 @@ _basic_create_widgets(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dia ob = e_widget_label_add(evas, _("Threshold")); e_widget_framelist_object_append(of, ob); - ob = e_widget_slider_add(evas, 1, 0, _("%1.0f"), 1.0, 10.0, 1.0, 0, + ob = e_widget_slider_add(evas, 1, 0, _("%1.0f"), 0.0, 10.0, 1.0, 0, &(cfdata->threshold), NULL, 100); e_widget_framelist_object_append(of, ob); --