[mutter/wip/tablet-protocol-v2: 48/70] wayland: Implement wp_tablet.path
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/tablet-protocol-v2: 48/70] wayland: Implement wp_tablet.path
- Date: Wed, 22 Jun 2016 17:37:23 +0000 (UTC)
commit 4cc3a9b517c510d95c64b10a324fea0cc44444de
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]