From 2ea9fd99834684a0a38ed1e715d5bc41007f7ff7 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 13 Sep 2019 20:11:14 +0200 Subject: [PATCH] ui/app: (wayland) reset fling emulation of pointer motion Signed-off-by: Elias Naur --- ui/app/os_wayland.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/os_wayland.go b/ui/app/os_wayland.go index 3b86782c..e4e430a0 100644 --- a/ui/app/os_wayland.go +++ b/ui/app/os_wayland.go @@ -523,6 +523,7 @@ func gio_onPointerLeave(data unsafe.Pointer, p *C.struct_wl_pointer, serial C.ui //export gio_onPointerMotion func gio_onPointerMotion(data unsafe.Pointer, p *C.struct_wl_pointer, t C.uint32_t, x, y C.wl_fixed_t) { w := winMap[p] + w.resetFling() w.onPointerMotion(x, y, t) }