From b9016b667dbf2003e81fede52b19527be8fc51d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 21 Dec 2011 22:54:49 -0500 Subject: [PATCH] clients: Add simple-touch client for testing touch events. --- compositor/evdev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compositor/evdev.c b/compositor/evdev.c index c065b33..08fef66 100644 --- a/compositor/evdev.c +++ b/compositor/evdev.c @@ -37,7 +37,7 @@ struct evdev_input { char *seat_id; }; -#define MAX_SLOTS 10 +#define MAX_SLOTS 16 struct evdev_input_device { struct evdev_input *master; @@ -279,8 +279,7 @@ is_motion_event(struct input_event *e) static void evdev_flush_motion(struct evdev_input_device *device, uint32_t time) { - struct wl_input_device *master = - &device->master->base.input_device; + struct wl_input_device *master = &device->master->base.input_device; if (!device->type) return; -- 2.7.4