Commit 005a8ede authored by Roman Gilg's avatar Roman Gilg

[server] Do not own dmabuf implementation

Summary:
The dmabuf implementation should be managed by the compositor and not by the
interface which might go away through signals while the implementation goes
away in the compositor simultaneously.

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D25576
parent d0b3eab8
......@@ -428,10 +428,7 @@ V1Iface::Private::Private(V1Iface *q, Display *display)
{
}
V1Iface::Private::~Private()
{
delete impl;
}
V1Iface::Private::~Private() = default;
void V1Iface::Private::bind(wl_client *client, uint32_t version, uint32_t id)
{
......
......@@ -146,6 +146,8 @@ public:
/**
* Sets the compositor implementation for the dmabuf interface.
*
* The ownership is not transferred by this call.
*/
void setImpl(Impl *impl);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment