edje entry - fix past to use shft+ins for paste and no ctl

fix key handling for paste (insert key one)

@fix
This commit is contained in:
Carsten Haitzler 2021-12-30 19:32:42 +00:00
parent a78b174e03
commit 5c19727c91
1 changed files with 2 additions and 2 deletions

View File

@ -2083,9 +2083,9 @@ _edje_key_down_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;
}
#if defined(__APPLE__) && defined(__MACH__)
else if ((super) && (!shift) && (!strcmp(ev->key, "v")))
else if (((super) && (!shift) && (!strcmp(ev->key, "v"))) || ((shift) && (!super) && (!strcmp(ev->key, "Insert"))))
#else
else if ((control) && (!shift) && (!strcmp(ev->key, "v")))
else if (((control) && (!shift) && (!strcmp(ev->key, "v"))) || ((shift) && (!control) && (!strcmp(ev->key, "Insert"))))
#endif
{
_compose_seq_reset(en);