From f3b94d9a78d1412abf72a8ee9c895fe303f1ff7f Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 13 May 2016 13:18:50 +0200 Subject: [PATCH] wayland: Implement wp_tablet.path Now that we have clutter_input_device_get_device_node(), it is trivial to implement. --- src/wayland/meta-wayland-tablet.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wayland/meta-wayland-tablet.c b/src/wayland/meta-wayland-tablet.c index 67361df09..013d00f21 100644 --- a/src/wayland/meta-wayland-tablet.c +++ b/src/wayland/meta-wayland-tablet.c @@ -88,13 +88,12 @@ meta_wayland_tablet_notify (MetaWaylandTablet *tablet, guint vid, pid; zwp_tablet_v2_send_name (resource, clutter_input_device_get_device_name (device)); + zwp_tablet_v2_send_path (resource, clutter_input_device_get_device_node (device)); if (sscanf (clutter_input_device_get_vendor_id (device), "%x", &vid) == 1 && sscanf (clutter_input_device_get_product_id (device), "%x", &pid) == 1) zwp_tablet_v2_send_id (resource, vid, pid); - /* FIXME: zwp_tablet_v2.path missing */ - zwp_tablet_v2_send_done (resource); }