projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ebc187
)
ecore_imf_example: remove wrong implementation code.
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Sat, 4 Jan 2014 05:23:38 +0000
(14:23 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Sat, 4 Jan 2014 05:23:38 +0000
(14:23 +0900)
Enter or Escape key should be processed by input method framework.
Editor should not call ecore_imf_context_reset by itself.
src/examples/ecore/ecore_imf_example.c
patch
|
blob
|
history
diff --git
a/src/examples/ecore/ecore_imf_example.c
b/src/examples/ecore/ecore_imf_example.c
index
73bf4fd
..
14c3b87
100644
(file)
--- a/
src/examples/ecore/ecore_imf_example.c
+++ b/
src/examples/ecore/ecore_imf_example.c
@@
-366,10
+366,6
@@
_key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
alt = evas_key_modifier_is_set(ev->modifiers, "Alt");
shift = evas_key_modifier_is_set(ev->modifiers, "Shift");
- if ((!strcmp(ev->keyname, "Escape")) ||
- (!strcmp(ev->keyname, "Return")) || (!strcmp(ev->keyname, "KP_Enter")))
- ecore_imf_context_reset(en->imf_context);
-
if (!strcmp(ev->key, "BackSpace"))
{
if (evas_textblock_cursor_char_prev(en->cursor))