From c6dd37cffd740b0f748e6dd742578cb9ec22a5e6 Mon Sep 17 00:00:00 2001 From: Felipe Ferreira da Silva Date: Sat, 8 Apr 2017 01:06:56 -0300 Subject: [PATCH] Update serial on Wayland button callback The serial needs to be update for starting operations like moving and resizing a window. --- src/wl_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wl_init.c b/src/wl_init.c index 8e12bafa7..0927a98a8 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -109,6 +109,8 @@ static void pointerHandleButton(void* data, if (!window) return; + _glfw.wl.pointerSerial = serial; + /* Makes left, right and middle 0, 1 and 2. Overall order follows evdev * codes. */ glfwButton = button - BTN_LEFT;