diff options
author | Juan Zhao <juan.j.zhao@intel.com> | 2013-09-24 12:55:31 +0000 |
---|---|---|
committer | Eduardo Lima (Etrunko) <eduardo.lima@intel.com> | 2013-09-25 11:44:44 -0300 |
commit | 789fab58a0c03ec9209a4a7a2267dbbe77a82b5c (patch) | |
tree | 0b1bc8288aeb2ef662bf0746cfd74930294ed42e | |
parent | ef1d02c848049d7199a0c043957136184ea0ded3 (diff) | |
download | weekeyboard-789fab58a0c03ec9209a4a7a2267dbbe77a82b5c.tar.gz weekeyboard-789fab58a0c03ec9209a4a7a2267dbbe77a82b5c.tar.bz2 weekeyboard-789fab58a0c03ec9209a4a7a2267dbbe77a82b5c.zip |
Fix handling of "Enter" key presssubmit/tizen/20130925.150625
Change-Id: I9f1fafb3690342cb5bbfdc23437bb953e20125d9
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r-- | packaging/weekeyboard.changes | 3 | ||||
-rw-r--r-- | src/wkb-main.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/packaging/weekeyboard.changes b/packaging/weekeyboard.changes index db9aa32..dbfa961 100644 --- a/packaging/weekeyboard.changes +++ b/packaging/weekeyboard.changes @@ -1,3 +1,6 @@ +* Wed Sep 25 2013 Eduardo Lima (Etrunko) <eduardo.lima@intel.com> submit/tizen/20130923.214204@41c7042 +- Fix handling of "Enter" key press + * Mon Sep 23 2013 Eduardo Lima (Etrunko) <eduardo.lima@intel.com> accepted/tizen/20130918.203201@76fb874 - Force engine to Wayland SHM diff --git a/src/wkb-main.c b/src/wkb-main.c index f2dc9af..6b41947 100644 --- a/src/wkb-main.c +++ b/src/wkb-main.c @@ -189,7 +189,9 @@ _cb_wkb_on_key_down(void *data, Evas_Object *obj, const char *emission EINA_UNUS else if (strcmp(key, "enter") == 0) { _wkb_commit_preedit_str(wkb); - /* wl_input_method_context_keysym(wkb->im_ctx, wkb->serial, time, XKB_KEY_Return, key_state, mod_mask); */ + wl_input_method_context_keysym(wkb->im_ctx, wkb->serial, time, + XKB_KEY_Return, WL_KEYBOARD_KEY_STATE_PRESSED, + 0); goto end; } else if (strcmp(key, "space") == 0) |