[mutter] wayland: Implement wp_tablet.path
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Implement wp_tablet.path
- Date: Fri, 22 Jul 2016 12:00:42 +0000 (UTC)
commit f3b94d9a78d1412abf72a8ee9c895fe303f1ff7f
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]