diff options
| author | Nicolas Fella <[email protected]> | 2022-10-11 21:21:09 +0200 |
|---|---|---|
| committer | Nicolas Fella <[email protected]> | 2022-10-14 14:46:29 +0000 |
| commit | 6c19e733673e24684707836fb2c9e0f45d1ac3f9 (patch) | |
| tree | f95d905c3e17a2d5e3acb55b9312d925506b77e2 /src/dolphinmainwindow.h | |
| parent | 354aba3c85c686bee8027e3ff84d1684c9a6c840 (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.h | 2 |
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(); |
