ui/app: (wayland) reset fling emulation of pointer motion

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-09-13 20:11:14 +02:00
parent 81f935f69b
commit 2ea9fd9983
+1
View File
@@ -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)
}