ecore-wl: Set keycode in event structure for key down/up

Summary: When we generate an Ecore key down/up event, we should also
be setting the keycode in the event structure

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-05-20 14:42:03 -04:00
parent 370f406d2f
commit ae6ec06991
1 changed files with 1 additions and 0 deletions

View File

@ -826,6 +826,7 @@ _ecore_wl_input_cb_keyboard_key(void *data, struct wl_keyboard *keyboard EINA_UN
e->event_window = win->id;
e->timestamp = timestamp;
e->modifiers = input->modifiers;
e->keycode = code;
if (state)
ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL);