mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
types/wlr_tablet_tool: add base wlr_input_device
wlr_tablet_tool owns its wlr_input_device. It will be initialized when the tablet tool is initialized, and finished when the tablet tool is destroyed.
This commit is contained in:
parent
a662743610
commit
7dfee50350
5 changed files with 16 additions and 4 deletions
|
|
@ -909,7 +909,7 @@ static void handle_tab_added(void *data,
|
|||
return;
|
||||
}
|
||||
zwp_tablet_v2_set_user_data(id, wlr_dev->tablet);
|
||||
wlr_tablet_init(wlr_dev->tablet, NULL);
|
||||
wlr_tablet_init(wlr_dev->tablet, NULL, wlr_dev->name);
|
||||
zwp_tablet_v2_add_listener(id, &tablet_listener, dev);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue