diff --git a/src/wayland/primaryoutput_v1_interface.cpp b/src/wayland/primaryoutput_v1_interface.cpp index 6f009431a5..08d9d00458 100644 --- a/src/wayland/primaryoutput_v1_interface.cpp +++ b/src/wayland/primaryoutput_v1_interface.cpp @@ -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; };