elm - focus feature - add config option to automatically show/hide focus
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 4 Mar 2015 08:47:54 +0000 (17:47 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 4 Mar 2015 08:47:54 +0000 (17:47 +0900)
commitc4a1e50c4ff519be95491f1b02700e01866d6db0
treec403fdd4c2a526302b7f1f427ef2ed74198831b2
parentadfe7fbcd3f4146d84219de7dbb5a273d89f396e
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
config/default/base.src.in
config/mobile/base.src.in
config/standard/base.src.in
src/bin/config.c
src/lib/elm_config.c
src/lib/elm_config.h
src/lib/elm_priv.h
src/lib/elm_widget.c
src/lib/elm_widget.h
src/lib/elm_win.c