From 32eef7b67f4ed82f5da8133e67668e29363fa2c6 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 19 Aug 2012 03:32:39 +0000 Subject: [PATCH] cleaner imf side-step on alt. :) SVN revision: 75424 --- src/bin/termio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index 52350bf0..a9077ae8 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -841,13 +841,14 @@ _smart_cb_key_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, if (!sd) return; if (sd->imf) { - Ecore_IMF_Event_Key_Down imf_ev; - ecore_imf_evas_event_key_down_wrap(ev, &imf_ev); // EXCEPTION. Don't filter modifiers alt+shift -> breaks emacs // and jed (alt+shift+5 for search/replace for example) // Don't filter modifiers alt, is used by shells if (!evas_key_modifier_is_set(ev->modifiers, "Alt")) { + Ecore_IMF_Event_Key_Down imf_ev; + + ecore_imf_evas_event_key_down_wrap(ev, &imf_ev); if (!sd->composing) { if (ecore_imf_context_filter_event