Commit 076b1d53 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Use code generated by qtwaylandscanner to send xdg-exported handle

This was overlooked during the port to the new approach.
parent 9aeff4af
Pipeline #56264 passed with stage
in 7 minutes and 22 seconds
......@@ -81,7 +81,7 @@ void XdgExporterV2Interface::zxdg_exporter_v2_export_toplevel(Resource *resource
});
m_exportedSurfaces[handle] = exported;
zxdg_exported_v2_send_handle(exportedResource, handle.toUtf8().constData());
exported->send_handle(handle);
}
XdgImporterV2Interface::XdgImporterV2Interface(Display *display, XdgForeignV2Interface *foreign)
......
......@@ -69,7 +69,7 @@ private:
QHash<XdgImportedV2Interface *, SurfaceInterface *> m_children; //parent->child hash
};
class XdgExportedV2Interface : public QObject, QtWaylandServer::zxdg_exported_v2
class XdgExportedV2Interface : public QObject, public QtWaylandServer::zxdg_exported_v2
{
Q_OBJECT
......
Supports Markdown
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