[mutter/wip/tablet-protocol-v2: 40/65] wayland: Implement wp_tablet.path



commit 5ec17b9f0f32df2d942e3273ebf1296523af95c1
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri May 13 13:18:50 2016 +0200

    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 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-tablet.c b/src/wayland/meta-wayland-tablet.c
index 67361df..013d00f 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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]