[PATCH weston 17/25] libweston: fix weston_touch_start_grab() arg name

Pekka Paalanen ppaalanen at gmail.com
Fri Mar 23 12:00:57 UTC 2018


From: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>

compositor.c has 'touch', so use 'touch' here as well. It is not a
device to begin with.

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
 libweston/compositor.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libweston/compositor.h b/libweston/compositor.h
index a1264e5a..129e15b8 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -602,7 +602,7 @@ void
 weston_touch_set_focus(struct weston_touch *touch,
 		       struct weston_view *view);
 void
-weston_touch_start_grab(struct weston_touch *device,
+weston_touch_start_grab(struct weston_touch *touch,
 			struct weston_touch_grab *grab);
 void
 weston_touch_end_grab(struct weston_touch *touch);
-- 
2.16.1



More information about the wayland-devel mailing list