From c141d4e41eae36f61bac9bf873d0d550f2000e93 Mon Sep 17 00:00:00 2001 From: raster Date: Mon, 25 Apr 2011 05:57:49 +0000 Subject: [PATCH] From: Jihoon Kim Subject: [E-devel] [PATCH] bug fix : preedit text was commited when shift key was pressed ATM, preedit text is commited when shift key is pressed. This patch file is for solving this bug. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@58887 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_entry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 474f516..c6a1088 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -1204,6 +1204,10 @@ _edje_key_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, v _edje_emit(ed, "entry,key,end", rp->part->name); ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; } + else if (!strcmp(ev->key, "Shift_L") || !strcmp(ev->key, "Shift_R")) + { + return; + } else if ((control) && (!strcmp(ev->key, "v"))) { _edje_emit(ed, "entry,paste,request", rp->part->name); -- 2.7.4