summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-08-19 03:32:39 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-08-19 03:32:39 +0000
commit32eef7b67f4ed82f5da8133e67668e29363fa2c6 (patch)
tree9b159e850ea50091ee9bce9af26123466ff8b7f5 /src
parentdf1d00930e40093f3bef14c1b1aaed08bfbe65a5 (diff)
cleaner imf side-step on alt. :)
SVN revision: 75424
Diffstat (limited to 'src')
-rw-r--r--src/bin/termio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 52350bf..a9077ae 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__,
841 if (!sd) return; 841 if (!sd) return;
842 if (sd->imf) 842 if (sd->imf)
843 { 843 {
844 Ecore_IMF_Event_Key_Down imf_ev;
845 ecore_imf_evas_event_key_down_wrap(ev, &imf_ev);
846 // EXCEPTION. Don't filter modifiers alt+shift -> breaks emacs 844 // EXCEPTION. Don't filter modifiers alt+shift -> breaks emacs
847 // and jed (alt+shift+5 for search/replace for example) 845 // and jed (alt+shift+5 for search/replace for example)
848 // Don't filter modifiers alt, is used by shells 846 // Don't filter modifiers alt, is used by shells
849 if (!evas_key_modifier_is_set(ev->modifiers, "Alt")) 847 if (!evas_key_modifier_is_set(ev->modifiers, "Alt"))
850 { 848 {
849 Ecore_IMF_Event_Key_Down imf_ev;
850
851 ecore_imf_evas_event_key_down_wrap(ev, &imf_ev);
851 if (!sd->composing) 852 if (!sd->composing)
852 { 853 {
853 if (ecore_imf_context_filter_event 854 if (ecore_imf_context_filter_event