clients: Add simple-touch client for testing touch events.

This commit is contained in:
Kristian Høgsberg 2011-12-21 22:54:49 -05:00 committed by Jonas Ådahl
parent 267e7fc4e7
commit b9016b667d

View file

@ -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;