Allow passing plugin backends some arguments

WId is irrelevant on Wayland and it doesn't fully describe everything we
might be doing, we can pass a variant map to make sure all necessary
information is provided.
This commit is contained in:
Aleix Pol
2021-10-14 15:53:33 +02:00
committed by Aleix Pol Gonzalez
parent be01a1e42b
commit 608762c7ac
11 changed files with 19 additions and 13 deletions

View File

@@ -35,7 +35,7 @@ public:
XCBFrameBufferPlugin(QObject *parent, const QVariantList &args);
~XCBFrameBufferPlugin() override;
FrameBuffer *frameBuffer(WId id) override;
FrameBuffer *frameBuffer(WId id, const QVariantMap &args) override;
private:
Q_DISABLE_COPY(XCBFrameBufferPlugin)