From 0b9380675caf5c80ec02e46cfc09496210f8ee12 Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 21 Feb 2011 10:05:09 +0100 Subject: Adjust to xi2 api changes The touch event types have new names since February 2011. Modify accordingly. Signed-off-by: Henrik Rydberg --- src/frame-xi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frame-xi2.c') diff --git a/src/frame-xi2.c b/src/frame-xi2.c index bead751..7fc38fd 100644 --- a/src/frame-xi2.c +++ b/src/frame-xi2.c @@ -274,7 +274,7 @@ utouch_frame_pump_xi2(utouch_frame_handle fh, const XIDeviceEvent *ev) switch (ev->evtype) { case XI_TouchBegin: - case XI_TouchMotion: + case XI_TouchUpdate: case XI_TouchEnd: value = ev->valuators.values; mask = ev->valuators.mask; -- cgit v1.2.3