mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 04:50:08 +01:00
clients: Add simple-touch client for testing touch events.
This commit is contained in:
parent
267e7fc4e7
commit
b9016b667d
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue