Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
device->suspended = 0;
}
-int
+void
evdev_device_suspend(struct evdev_device *device)
{
struct libinput *libinput = evdev_libinput_context(device);
close_restricted(libinput, device->fd);
device->fd = -1;
}
-
- return 0;
}
int
evdev_device_transform_y(struct evdev_device *device,
double y,
uint32_t height);
-int
+void
evdev_device_suspend(struct evdev_device *device);
int