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:
committed by
Aleix Pol Gonzalez
parent
be01a1e42b
commit
608762c7ac
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user