mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
ui/app: (wayland) reset fling emulation of pointer motion
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user