From 6c19e733673e24684707836fb2c9e0f45d1ac3f9 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 11 Oct 2022 21:21:09 +0200 Subject: Fix Wayland window activation when attaching to an existing instance The application launching Dolphin passes a token via the XDG_ACTIVATION_TOKEN environment variable We need to pass that to the running instance so that it can use it to raise itself --- src/global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index ee9a7ec27..80ec03fd0 100644 --- a/src/global.h +++ b/src/global.h @@ -39,7 +39,7 @@ namespace Dolphin { * @p preferredService needs to support the org.kde.dolphin.MainWindow dbus interface with the /dolphin/Dolphin_1 path. * Returns true if the URLs were successfully attached. */ - bool attachToExistingInstance(const QList& inputUrls, bool openFiles, bool splitView, const QString& preferredService = QString()); + bool attachToExistingInstance(const QList& inputUrls, bool openFiles, bool splitView, const QString& preferredService, const QString &activationToken); /** * Returns a QVector with all GUI-capable Dolphin instances -- cgit v1.3