From 2e3881b14d0095cf4dbe22b143618601bcfd49c1 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Fri, 20 Oct 2023 22:41:32 +0200 Subject: [PATCH] Adapt to KWindowSystem API change --- src/plugins/windowsystem/windowsystem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/windowsystem/windowsystem.cpp b/src/plugins/windowsystem/windowsystem.cpp index 0baab9cfcc..5d165e8e12 100644 --- a/src/plugins/windowsystem/windowsystem.cpp +++ b/src/plugins/windowsystem/windowsystem.cpp @@ -5,6 +5,7 @@ */ #include "windowsystem.h" +#include #include #include @@ -186,7 +187,7 @@ void WindowSystem::requestToken(QWindow *win, uint32_t serial, const QString &ap auto token = KWin::waylandServer()->xdgActivationIntegration()->requestPrivilegedToken(nullptr, seat->display()->serial(), seat, appId); // Ensure that xdgActivationTokenArrived is always emitted asynchronously QTimer::singleShot(0, [serial, token] { - Q_EMIT KWindowSystem::self()->xdgActivationTokenArrived(serial, token); + Q_EMIT KWaylandExtras::self()->xdgActivationTokenArrived(serial, token); }); }