elm - focus feature - add config option to automatically show/hide focus

Desktop / Enlightenment / Elementary - Carsten Haitzler (Rasterman) [rasterman.com] - 4 March 2015 02:47 UTC

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

c4a1e50 elm - focus feature - add config option to automatically show/hide focus
config/default/base.src.in | 4 +++-
config/mobile/base.src.in | 4 +++-
config/standard/base.src.in | 4 +++-
src/bin/config.c | 34 ++++++++++++++++++++++++++++++
src/lib/elm_config.c | 32 +++++++++++++++++++++++++++++
src/lib/elm_config.h | 48 +++++++++++++++++++++++++++++++++++++++++++
src/lib/elm_priv.h | 4 +++-
src/lib/elm_widget.c | 4 ++++
src/lib/elm_widget.h | 2 ++
src/lib/elm_win.c | 45 +++++++++++++++++++++++++++++++++++-----
10 files changed, 172 insertions(+), 9 deletions(-)

Upstream: git.enlightenment.org


  • Share