discomfitor pushed a commit to branch elementary-1.11.

http://git.enlightenment.org/core/elementary.git/commit/?id=a0b97d429f25112a231ce57bae8dc45e37ff4f38

commit a0b97d429f25112a231ce57bae8dc45e37ff4f38
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Sep 23 16:55:11 2014 -0400

    remove accel_override from elm_config
    
    if this is saved, it can never be unset, which means that a user who later 
gains/loses hw accel can never change the existing config value
    
    @fix
---
 src/lib/elm_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index 44fbc2e..701b18d 100644
--- a/src/lib/elm_config.c
+++ b/src/lib/elm_config.c
@@ -484,7 +484,6 @@ _desc_init(void)
    ELM_CONFIG_VAL(D, T, config_version, T_INT);
    ELM_CONFIG_VAL(D, T, engine, T_STRING);
    ELM_CONFIG_VAL(D, T, accel, T_STRING);
-   ELM_CONFIG_VAL(D, T, accel_override, T_UCHAR);
    ELM_CONFIG_VAL(D, T, vsync, T_UCHAR);
    ELM_CONFIG_VAL(D, T, thumbscroll_enable, T_UCHAR);
    ELM_CONFIG_VAL(D, T, thumbscroll_threshold, T_INT);
@@ -1493,6 +1492,7 @@ _config_load(void)
         if (_elm_config->thumbscroll_flick_distance_tolerance == 0)
           _elm_config->thumbscroll_flick_distance_tolerance = 1000;
 
+        _elm_config->accel_override = 0;
         return;
      }
 

-- 


Reply via email to