From: Carsten Haitzler (Rasterman) Date: Sat, 10 Oct 2015 04:21:58 +0000 (+0900) Subject: elm cusro config - move elm to by default look for cursors in theme X-Git-Tag: v1.16.0-beta1~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cf79cf5ba72b72ae436c9ad39b812b992fd8381;p=platform%2Fupstream%2Felementary.git 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. --- diff --git a/config/default/base.src.in b/config/default/base.src.in index 5b01b5e..5caff3d 100644 --- a/config/default/base.src.in +++ b/config/default/base.src.in @@ -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; diff --git a/config/mobile/base.src.in b/config/mobile/base.src.in index 6219c11..6621fb8 100644 --- a/config/mobile/base.src.in +++ b/config/mobile/base.src.in @@ -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; diff --git a/config/standard/base.src.in b/config/standard/base.src.in index b5f1b7a..a89beba 100644 --- a/config/standard/base.src.in +++ b/config/standard/base.src.in @@ -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; diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index f73cb7c..29ef12d 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -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. **/ diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h index 48f2267..be92f15 100644 --- a/src/lib/elm_priv.h +++ b/src/lib/elm_priv.h @@ -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)