From b2456af1596c9d5a5ede6deb2b4c0681f27bead3 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 23 Aug 2012 11:27:43 +0000 Subject: [PATCH] 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 --- legacy/elementary/src/lib/elm_win.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c index 2dcf0bd3c4..5bee88d0fd 100644 --- a/legacy/elementary/src/lib/elm_win.c +++ b/legacy/elementary/src/lib/elm_win.c @@ -886,7 +886,8 @@ _elm_win_smart_event(Evas_Object *obj, return EINA_FALSE; 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")) elm_widget_focus_cycle(obj, ELM_FOCUS_PREVIOUS);