From: raster Date: Mon, 25 Apr 2011 05:57:49 +0000 (+0000) Subject: From: Jihoon Kim X-Git-Tag: 2.0_alpha~163^2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c141d4e41eae36f61bac9bf873d0d550f2000e93;p=framework%2Fuifw%2Fedje.git 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 --- 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);