From: Chris Michael Date: Wed, 20 May 2015 18:42:03 +0000 (-0400) Subject: ecore-wl: Set keycode in event structure for key down/up X-Git-Tag: v1.15.0-alpha1~482 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae6ec069916c17df7525e060b23356a48912738a;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index 61c32b4..7813a15 100755 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -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);