https://bugs.freedesktop.org/show_bug.cgi?id=77578
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
return 0;
}
+static void
+libinput_log_func(enum libinput_log_priority priority, void *user_data,
+ const char *format, va_list args)
+{
+ weston_vlog(format, args);
+}
+
int
udev_input_init(struct udev_input *input, struct weston_compositor *c, struct udev *udev,
const char *seat_id)
input->compositor = c;
+ libinput_log_set_handler(&libinput_log_func, NULL);
+
input->libinput = libinput_udev_create_for_seat(&libinput_interface, input,
udev, seat_id);
if (!input->libinput) {