focus: Added optional focus feature - focus movement by mouse_in

Desktop / Enlightenment / Elementary - Daniel Juyung Seo [samsung.com] - 22 March 2014 12:04 UTC

Focus is moved by mouse click by default. This patch makes moving focus by mouse_in optionally by configuration and API. Widget item focus movement is not applied yet. Need to do that as well.

- configuration: "focus_move_policy"- API: elm_config_focus_move_policy_set/get- enum ELM_FOCUS_MOVE_POLICY_CLICK ELM_FOCUS_MOVE_POLICY_IN

@feature

2cc50b3 focus: Added optional focus feature - focus movement by mouse_in.
config/default/base.src | 1 +
config/mobile/base.src | 1 +
config/standard/base.src | 1 +
src/lib/elm_config.c | 16 ++++++++++++++++
src/lib/elm_config.h | 39 +++++++++++++++++++++++++++++++++++++++
src/lib/elm_priv.h | 1 +
src/lib/elm_widget.c | 16 +++++++++++++++-
7 files changed, 74 insertions(+), 1 deletion(-)

Upstream: git.enlightenment.org


  • Share