summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-04 17:47:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-03-04 17:47:54 +0900
commitc4a1e50c4ff519be95491f1b02700e01866d6db0 (patch)
treec403fdd4c2a526302b7f1f427ef2ed74198831b2 /config
parentadfe7fbcd3f4146d84219de7dbb5a273d89f396e (diff)
downloadelementary-c4a1e50c4ff519be95491f1b02700e01866d6db0.tar.gz
elm - focus feature - add config option to automatically show/hide focus
this adds logic in elm widget and elm win to figure out how to automatically show a focus hilight when switching focus, or to hide it. this really should be the default mode, thus in all default profiles (default, standard, mobile) it's turned on. this means if you tab or shif+tab or use arrow keys to switch focus, the focus hilight will magicallly appear. click with a mouse to change focus and it'll disappear assuming you want to use the mouse to do things. If focus is explicitly turned on in config or in the window by api, then this has no effect and focus will remain on all the time. this adds apis to change these config values and options in the default elm config tool to swizzle them as well as config upgrade handling for existing configs. @feature
Diffstat (limited to 'config')
-rw-r--r--config/default/base.src.in4
-rw-r--r--config/mobile/base.src.in4
-rw-r--r--config/standard/base.src.in4
3 files changed, 9 insertions, 3 deletions
diff --git a/config/default/base.src.in b/config/default/base.src.in
index e29aeb2ed..a0245f3b9 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: 131073;
+ value "config_version" int: 131074;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 1;
@@ -94,6 +94,8 @@ group "Elm_Config" struct {
value "audio_mute_input" uchar: 0;
value "audio_mute_alert" uchar: 0;
value "audio_mute_all" uchar: 0;
+ value "win_auto_focus_enable" uchar: 1;
+ value "win_auto_focus_animate" uchar: 1;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "palette_name" string: "default";
diff --git a/config/mobile/base.src.in b/config/mobile/base.src.in
index ee0911577..e9db0a20d 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: 131073;
+ value "config_version" int: 131074;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 1;
@@ -98,6 +98,8 @@ group "Elm_Config" struct {
value "audio_mute_input" uchar: 0;
value "audio_mute_alert" uchar: 0;
value "audio_mute_all" uchar: 0;
+ value "win_auto_focus_enable" uchar: 1;
+ value "win_auto_focus_animate" uchar: 1;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "palette_name" string: "default";
diff --git a/config/standard/base.src.in b/config/standard/base.src.in
index 2ee0271bc..9cae3a1cd 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: 131073;
+ value "config_version" int: 131074;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 0;
@@ -95,6 +95,8 @@ group "Elm_Config" struct {
value "audio_mute_input" uchar: 0;
value "audio_mute_alert" uchar: 0;
value "audio_mute_all" uchar: 0;
+ value "win_auto_focus_enable" uchar: 1;
+ value "win_auto_focus_animate" uchar: 1;
group "color_palette" list {
group "Elm_Custom_Palette" struct {
value "palette_name" string: "default";