elm_config: fix wrong update code
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Fri, 31 Jan 2020 13:39:38 +0000 (14:39 +0100)
committerJongmin Lee <jm105.lee@samsung.com>
Tue, 11 Feb 2020 21:58:27 +0000 (06:58 +0900)
the version here was wrong, probebly a missmatch between hex. & dec and
a off by one error. This is fixing that problem and does not just copy
all keybindings.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11261

src/lib/elementary/elm_config.c

index 03c1cc1..8d175b1 100644 (file)
@@ -3141,13 +3141,14 @@ _config_update(void)
    _elm_config->win_no_border = EINA_FALSE;
    IFCFGEND
 
-   IFCFG(0x0022)
+   IFCFG(0x0016)
 
    _elm_key_bindings_copy_missing_bindings(_elm_config, tcfg);
    /* after this function call, the tcfg is partly invalidated, reload! */
    _config_free(tcfg);
    tcfg = _config_system_load();
    IFCFGEND
+
    /**
     * Fix user config for current ELM_CONFIG_EPOCH here.
     **/