forked from enlightenment/efl
Elm: Fix ticket 1363 (Cannot change focus with Shift+Tab when using
the wayland engines). The focus handler which traps key events needs to listen for ISO_Left_Tab also (which is what xkb reports for Shift+Tab). SVN revision: 75618
This commit is contained in:
parent
45dbb295aa
commit
b2456af159
|
@ -886,7 +886,8 @@ _elm_win_smart_event(Evas_Object *obj,
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
|
||||||
current_focused = elm_widget_focused_object_get(obj);
|
current_focused = elm_widget_focused_object_get(obj);
|
||||||
if (!strcmp(ev->keyname, "Tab"))
|
if ((!strcmp(ev->keyname, "Tab")) ||
|
||||||
|
(!strcmp(ev->keyname, "ISO_Left_Tab")))
|
||||||
{
|
{
|
||||||
if (evas_key_modifier_is_set(ev->modifiers, "Shift"))
|
if (evas_key_modifier_is_set(ev->modifiers, "Shift"))
|
||||||
elm_widget_focus_cycle(obj, ELM_FOCUS_PREVIOUS);
|
elm_widget_focus_cycle(obj, ELM_FOCUS_PREVIOUS);
|
||||||
|
|
Loading…
Reference in New Issue