diff --git a/ui/app/os_wayland.c b/ui/app/os_wayland.c index 24343922..7cb87b55 100644 --- a/ui/app/os_wayland.c +++ b/ui/app/os_wayland.c @@ -104,8 +104,6 @@ static const struct wl_touch_listener wl_touch_listener = { .motion = gio_onTouchMotion, .frame = gio_onTouchFrame, .cancel = gio_onTouchCancel, - .shape = gio_onTouchShape, - .orientation = gio_onTouchOrientation }; void gio_wl_touch_add_listener(struct wl_touch *touch) { diff --git a/ui/app/os_wayland.go b/ui/app/os_wayland.go index f83cd22f..8507e967 100644 --- a/ui/app/os_wayland.go +++ b/ui/app/os_wayland.go @@ -474,14 +474,6 @@ func gio_onTouchCancel(data unsafe.Pointer, touch *C.struct_wl_touch) { }) } -//export gio_onTouchShape -func gio_onTouchShape(data unsafe.Pointer, touch *C.struct_wl_touch, id C.int32_t, major, minor C.wl_fixed_t) { -} - -//export gio_onTouchOrientation -func gio_onTouchOrientation(data unsafe.Pointer, touch *C.struct_wl_touch, id C.int32_t, orientation C.wl_fixed_t) { -} - //export gio_onPointerEnter func gio_onPointerEnter(data unsafe.Pointer, pointer *C.struct_wl_pointer, serial C.uint32_t, surf *C.struct_wl_surface, x, y C.wl_fixed_t) { // Get images[0].