tablet: destroy resources when they are asked to
CCBUG: 458793
This commit is contained in:
parent
ed811a7810
commit
d268ac449e
1 changed files with 5 additions and 0 deletions
|
@ -632,6 +632,11 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void zwp_tablet_seat_v2_destroy(Resource *resource) override
|
||||
{
|
||||
wl_resource_destroy(resource->handle);
|
||||
}
|
||||
|
||||
void sendToolAdded(Resource *resource, TabletToolV2Interface *tool)
|
||||
{
|
||||
wl_resource *toolResource = tool->d->add(resource->client(), resource->version())->handle;
|
||||
|
|
Loading…
Reference in a new issue