mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Use tablet_tool impl in libinput backend
This commit is contained in:
parent
31cec36b74
commit
adba68a3c1
3 changed files with 9 additions and 7 deletions
|
|
@ -186,9 +186,6 @@ static void handle_device_removed(struct wlr_libinput_backend *backend,
|
|||
}
|
||||
struct wlr_input_device *dev, *tmp_dev;
|
||||
wl_list_for_each_safe(dev, tmp_dev, wlr_devices, link) {
|
||||
if (dev->type == WLR_INPUT_DEVICE_TABLET_TOOL) {
|
||||
wlr_libinput_tablet_tool_destroy(dev);
|
||||
}
|
||||
wlr_input_device_destroy(dev);
|
||||
}
|
||||
for (size_t i = 0; i < backend->wlr_device_lists.length; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue