diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-05-20 14:42:03 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-05-20 14:43:06 -0400 |
commit | ae6ec069916c17df7525e060b23356a48912738a (patch) | |
tree | a1128a1d39941fc461ebbbe2d882a6757bfebdd8 | |
parent | 370f406d2f70bea44652480c54b16b0bef6236f9 (diff) |
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>
-rwxr-xr-x | src/lib/ecore_wayland/ecore_wl_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index 61c32b4c75..7813a15b1b 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 | |||
826 | e->event_window = win->id; | 826 | e->event_window = win->id; |
827 | e->timestamp = timestamp; | 827 | e->timestamp = timestamp; |
828 | e->modifiers = input->modifiers; | 828 | e->modifiers = input->modifiers; |
829 | e->keycode = code; | ||
829 | 830 | ||
830 | if (state) | 831 | if (state) |
831 | ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL); | 832 | ecore_event_add(ECORE_EVENT_KEY_DOWN, e, NULL, NULL); |