diff --git a/src/wayland/meta-wayland-touch.c b/src/wayland/meta-wayland-touch.c index 012a6a5b3..18fd8891d 100644 --- a/src/wayland/meta-wayland-touch.c +++ b/src/wayland/meta-wayland-touch.c @@ -444,9 +444,8 @@ touch_info_free (MetaWaylandTouchInfo *touch_info) g_free (touch_info); } -static void -touch_handle_cancel_event (MetaWaylandTouch *touch, - struct libinput_event *event) +void +meta_wayland_touch_cancel (MetaWaylandTouch *touch) { GList *surfaces, *s; @@ -495,7 +494,7 @@ evdev_filter_func (struct libinput_event *event, * which are not so useful when sending a global signal as the protocol * requires. */ - touch_handle_cancel_event (touch, event); + meta_wayland_touch_cancel (touch); break; default: break; diff --git a/src/wayland/meta-wayland-touch.h b/src/wayland/meta-wayland-touch.h index 584695588..011e724be 100644 --- a/src/wayland/meta-wayland-touch.h +++ b/src/wayland/meta-wayland-touch.h @@ -58,5 +58,7 @@ void meta_wayland_touch_create_new_resource (MetaWaylandTouch *touch, struct wl_client *client, struct wl_resource *seat_resource, uint32_t id); +void meta_wayland_touch_cancel (MetaWaylandTouch *touch); + #endif /* META_WAYLAND_TOUCH_H */