devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=324a7e545a6efc4450b6987d725727664a967aeb
commit 324a7e545a6efc4450b6987d725727664a967aeb Author: Chris Michael <[email protected]> Date: Wed Sep 30 12:03:29 2015 -0400 ecore-wl2: Update input serial when we get a mouse button event Signed-off-by: Chris Michael <[email protected]> --- src/lib/ecore_wl2/ecore_wl2_input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c index f52c168..3e5ca95 100644 --- a/src/lib/ecore_wl2/ecore_wl2_input.c +++ b/src/lib/ecore_wl2/ecore_wl2_input.c @@ -542,13 +542,15 @@ _pointer_cb_motion(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned } static void -_pointer_cb_button(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial EINA_UNUSED, unsigned int timestamp, unsigned int button, unsigned int state) +_pointer_cb_button(void *data, struct wl_pointer *pointer EINA_UNUSED, unsigned int serial, unsigned int timestamp, unsigned int button, unsigned int state) { Ecore_Wl2_Input *input; input = data; if (!input) return; + input->display->serial = serial; + if (state == WL_POINTER_BUTTON_STATE_PRESSED) { if ((input->focus.pointer) && (!input->grab.window)) --
