ecore-wl: Set keycode in event structure for key down/up
authorChris Michael <cp.michael@samsung.com>
Wed, 20 May 2015 18:42:03 +0000 (14:42 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 20 May 2015 18:43:06 +0000 (14:43 -0400)
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>
src/lib/ecore_wayland/ecore_wl_input.c

index 61c32b4..7813a15 100755 (executable)
@@ -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);