wayland: Implement wp_tablet.path
Now that we have clutter_input_device_get_device_node(), it is trivial to implement.
This commit is contained in:
parent
af8b938f92
commit
f3b94d9a78
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue