summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_events.c')
-rw-r--r--src/lib/evas/canvas/evas_events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index 8ab6bf4cd4..9d40007709 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -3462,9 +3462,11 @@ _canvas_event_feed_key_legacy(Eo *eo_e, Evas_Public_Data *e,
ev->compose = compose;
ev->timestamp = timestamp;
ev->keycode = keycode;
+ ev->pressed = down;
ev->no_stringshare = EINA_TRUE;
ev->device = efl_ref(_evas_event_legacy_device_get(e->evas, EINA_FALSE));
+
if (down)
_canvas_event_feed_key_down_internal(e, ev);
else