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

Hook up keyevents on Wayland

This commit is contained in:
David Redondo
2023-02-07 16:36:36 +01:00
committed by Aleix Pol Gonzalez
parent 953cc4218b
commit 01c775f2e8

View File

@@ -61,10 +61,8 @@ void EventData::init()
void XdpEventHandler::handleKeyboard(bool down, rfbKeySym keySym)
{
// TODO: implement button handling
// both in FakeInput interface and here
Q_UNUSED(down)
Q_UNUSED(keySym)
const QDBusObjectPath sessionHandle = frameBuffer()->customProperty(QStringLiteral("session_handle")).value<QDBusObjectPath>();
data->dbusXdpRemoteDesktopService->NotifyKeyboardKeysym(sessionHandle, {}, keySym, down);
}
void XdpEventHandler::handlePointer(int buttonMask, int x, int y)