ignore tab key focus changes in elm_win if ctrl/alt is pressed: the trunk version

SVN revision: 84021
This commit is contained in:
Mike Blumenkrantz 2013-02-17 14:19:53 +00:00
parent 1aaa6e41e1
commit 822f4e8429
3 changed files with 8 additions and 0 deletions

View File

@ -1037,3 +1037,7 @@
2013-02-17 Cedric Bail
* Improve support on some 64bits system.
2013-02-17 Mike Blumenkrantz
* ignore tab key widget focus change if control/alt is pressed

View File

@ -152,6 +152,7 @@ Fixes:
* Fix elc_player pause state to be in sync
* Fix time string display to handle hours right
* Fix elm_config to properly check file type.
* ignore tab key widget focus change if control/alt is pressed
Removals:

View File

@ -1131,6 +1131,9 @@ _elm_win_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
if ((!strcmp(ev->keyname, "Tab")) ||
(!strcmp(ev->keyname, "ISO_Left_Tab")))
{
if (evas_key_modifier_is_set(ev->modifiers, "Control") ||
evas_key_modifier_is_set(ev->modifiers, "Alt"))
return EINA_FALSE;
if (evas_key_modifier_is_set(ev->modifiers, "Shift"))
elm_widget_focus_cycle(obj, ELM_FOCUS_PREVIOUS);
else