1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 07:41:17 -07:00

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

@@ -36,9 +36,10 @@ PWFrameBufferPlugin::~PWFrameBufferPlugin()
{
}
FrameBuffer *PWFrameBufferPlugin::frameBuffer(WId id)
FrameBuffer *PWFrameBufferPlugin::frameBuffer(WId id, const QVariantMap &args)
{
//NOTE WId is irrelevant in Wayland
auto pwfb = new PWFrameBuffer(id);
// sanity check for dbus/wayland/pipewire errors