summaryrefslogtreecommitdiff
path: root/src/lib/edje
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-01-25 16:10:47 +0200
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-01-25 16:27:23 +0200
commit13541f0054e38b3b2534a8d6bbad95e62d1022d0 (patch)
tree66bee830c343658310c161eadff06a772bfbb8b0 /src/lib/edje
parent358b4b9a9ad748c67a205c6040cc143a3b9a021a (diff)
edje_entry: don't send a 'changed' signal if Control is lock
This patch is avoid extra 'change' signals from edje_entry to elm_entry. Basically the entry fields does not react to keys pressed with modificator 'Ctrl'. I was test on Windows 7, MacOS 10.12 and Unity (GTK+) and they all have similar behavior - keys with 'Ctrl' are ignored. So this patch make expected beharior for elm_entry (edje_entry).
Diffstat (limited to 'src/lib/edje')
-rw-r--r--src/lib/edje/edje_entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index b9fb8b8d19..785f0c8d8c 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -2260,6 +2260,7 @@ _edje_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
2260 Eina_Bool free_string = EINA_FALSE; 2260 Eina_Bool free_string = EINA_FALSE;
2261 Ecore_Compose_State state; 2261 Ecore_Compose_State state;
2262 2262
2263 if (control) goto end;
2263 if (!en->composing) 2264 if (!en->composing)
2264 { 2265 {
2265 _compose_seq_reset(en); 2266 _compose_seq_reset(en);