forked from enlightenment/efl
evas: Set modifiers & locks on global key events
Fixes T5510
This commit is contained in:
parent
0b67bfc031
commit
eb27724eb9
|
@ -4004,6 +4004,9 @@ _evas_canvas_event_key_cb(void *data, const Efl_Event *event)
|
||||||
ev->device = _evas_event_legacy_device_get(e->evas, EINA_FALSE);
|
ev->device = _evas_event_legacy_device_get(e->evas, EINA_FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ev->modifiers = &e->modifiers;
|
||||||
|
ev->locks = &e->locks;
|
||||||
|
|
||||||
if (ev->pressed)
|
if (ev->pressed)
|
||||||
_canvas_event_feed_key_down_internal(e, ev);
|
_canvas_event_feed_key_down_internal(e, ev);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue