From 488423236053d988f2b1f4b55e64bccbfce9abcb Mon Sep 17 00:00:00 2001 From: pengo Date: Thu, 13 Apr 2017 01:59:49 +0000 Subject: [PATCH] Wayland: Update serial on button callback The serial needs to be update for starting operations like moving and resizing a window. Closes #992. --- src/wl_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wl_init.c b/src/wl_init.c index 8e12bafa..0927a98a 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;