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).
This commit is contained in:
Vyacheslav Reutskiy 2017-01-25 16:10:47 +02:00
parent 358b4b9a9a
commit 13541f0054
1 changed files with 1 additions and 0 deletions

View File

@ -2260,6 +2260,7 @@ _edje_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
Eina_Bool free_string = EINA_FALSE;
Ecore_Compose_State state;
if (control) goto end;
if (!en->composing)
{
_compose_seq_reset(en);