Add destructor for primary output global
This commit is contained in:
parent
ae1937badc
commit
ab06dd2e31
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
|
||||
namespace KWaylandServer
|
||||
{
|
||||
static const quint32 s_version = 1;
|
||||
static const quint32 s_version = 2;
|
||||
|
||||
class PrimaryOutputV1InterfacePrivate : public QtWaylandServer::kde_primary_output_v1
|
||||
{
|
||||
|
@ -33,6 +33,10 @@ public:
|
|||
send_primary_output(resource->handle, m_outputName);
|
||||
}
|
||||
}
|
||||
void kde_primary_output_v1_destroy(Resource *resource) override
|
||||
{
|
||||
wl_resource_destroy(resource->handle);
|
||||
}
|
||||
|
||||
QString m_outputName;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue