┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2022-10-11 21:21:09 +0200
committerNicolas Fella <[email protected]>2022-10-14 14:46:29 +0000
commit6c19e733673e24684707836fb2c9e0f45d1ac3f9 (patch)
treef95d905c3e17a2d5e3acb55b9312d925506b77e2 /src/dolphinmainwindow.h
parent354aba3c85c686bee8027e3ff84d1684c9a6c840 (diff)
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
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 6f922168c..bf74b77b7 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -139,7 +139,7 @@ public Q_SLOTS:
/**
* Tries to raise/activate the Dolphin window.
*/
- void activateWindow();
+ void activateWindow(const QString &activationToken);
bool isActiveWindow();