mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-26 00:52:21 +00:00
tablet-v2: use wlr_tablet.usb_{vendor,product}_id
This commit is contained in:
parent
e21b975f5d
commit
11ee3ae5b5
@ -106,9 +106,9 @@ void add_tablet_client(struct wlr_tablet_seat_client_v2 *seat,
|
|||||||
zwp_tablet_v2_send_name(client->resource,
|
zwp_tablet_v2_send_name(client->resource,
|
||||||
tablet->wlr_tablet->base.name);
|
tablet->wlr_tablet->base.name);
|
||||||
}
|
}
|
||||||
if (tablet->wlr_device->vendor != 0) {
|
if (tablet->wlr_tablet->usb_vendor_id != 0) {
|
||||||
zwp_tablet_v2_send_id(client->resource,
|
zwp_tablet_v2_send_id(client->resource,
|
||||||
tablet->wlr_device->vendor, tablet->wlr_device->product);
|
tablet->wlr_tablet->usb_vendor_id, tablet->wlr_tablet->usb_product_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char **path_ptr;
|
const char **path_ptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user