devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=ae6ec069916c17df7525e060b23356a48912738a

commit ae6ec069916c17df7525e060b23356a48912738a
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed May 20 14:42:03 2015 -0400

    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.mich...@samsung.com>
---
 src/lib/ecore_wayland/ecore_wl_input.c | 1 +
 1 file changed, 1 insertion(+)

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);

-- 


Reply via email to