elm cusro config - move elm to by default look for cursors in theme

previous config ignored elm theme if ithas cursors. this was just
wrong, so switch default back to using theme and update configs
accordingly etc. this is houw it should have worked.
This commit is contained in:
Carsten Haitzler 2015-10-10 13:21:58 +09:00
parent 11eec45f4f
commit b8a3f7aa7a
5 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,5 @@
group "Elm_Config" struct {
value "config_version" int: 131077;
value "config_version" int: 131078;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 1;
@ -40,7 +40,7 @@ group "Elm_Config" struct {
value "theme" string: "default";
value "modules" string: "prefs>prefs_iface:access_output>access/api:datetime_input_ctxpopup>datetime/api";
value "tooltip_delay" double: 1.0;
value "cursor_engine_only" uchar: 1;
value "cursor_engine_only" uchar: 0;
value "focus_highlight_enable" uchar: 0;
value "focus_highlight_animate" uchar: 0;
value "focus_highlight_clip_disable" uchar: 0;

View File

@ -1,5 +1,5 @@
group "Elm_Config" struct {
value "config_version" int: 131077;
value "config_version" int: 131078;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 1;
@ -40,7 +40,7 @@ group "Elm_Config" struct {
value "theme" string: "default";
value "modules" string: "prefs>prefs_iface:access_output>access/api:datetime_input_ctxpopup>datetime/api";
value "tooltip_delay" double: 1.0;
value "cursor_engine_only" uchar: 1;
value "cursor_engine_only" uchar: 0;
value "focus_highlight_enable" uchar: 0;
value "focus_highlight_animate" uchar: 0;
value "focus_highlight_clip_disable" uchar: 0;

View File

@ -1,5 +1,5 @@
group "Elm_Config" struct {
value "config_version" int: 131077;
value "config_version" int: 131078;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 0;
@ -40,7 +40,7 @@ group "Elm_Config" struct {
value "theme" string: "default";
value "modules" string: "prefs>prefs_iface:access_output>access/api:datetime_input_ctxpopup>datetime/api";
value "tooltip_delay" double: 1.0;
value "cursor_engine_only" uchar: 1;
value "cursor_engine_only" uchar: 0;
value "focus_highlight_enable" uchar: 0;
value "focus_highlight_animate" uchar: 0;
value "focus_highlight_clip_disable" uchar: 1;

View File

@ -1786,6 +1786,10 @@ _config_update(void)
_elm_config->naviframe_prev_btn_auto_pushed = tcfg->naviframe_prev_btn_auto_pushed;
IFCFGEND
IFCFG(0x0006)
_elm_config->cursor_engine_only = 0;
IFCFGEND
/**
* Fix user config for current ELM_CONFIG_EPOCH here.
**/

View File

@ -123,7 +123,7 @@ struct _Elm_Theme
* the users config doesn't need to be wiped - simply new values need
* to be put in
*/
#define ELM_CONFIG_FILE_GENERATION 0x0005
#define ELM_CONFIG_FILE_GENERATION 0x0006
#define ELM_CONFIG_VERSION_EPOCH_OFFSET 16
#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \
ELM_CONFIG_FILE_GENERATION)