Fix wayland activation

Adds support for xdg_activation_v1 when calling the application from the
system tray by using KStatusNotifier which supports it.
Listens to XDG_ACTIVATION_TOKEN as it's passed when we are started from
dbus.
This commit is contained in:
Aleix Pol
2021-09-03 20:31:12 +02:00
committed by Aleix Pol Gonzalez
parent 5c86692fb5
commit 265fcbfead
7 changed files with 77 additions and 3 deletions

View File

@@ -91,6 +91,7 @@ public:
Q_INVOKABLE void openOrCreateDirectChat(NeoChatUser *user);
Q_INVOKABLE void setBlur(QQuickItem *item, bool blur);
Q_INVOKABLE void raiseWindow(QWindow *window);
private:
explicit Controller(QObject *parent = nullptr);