From 0b53ebc5e8c0df2fad64ea5b60fda05ae0aafb3b Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 21 Apr 2020 15:21:28 +0300 Subject: agl-shell-desktop: Updates to the latest protocol Signed-off-by: Marius Vlad --- launcher/protocol/agl-shell-desktop.xml | 17 +++++++++++++++++ launcher/src/shell-desktop.cpp | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'launcher') diff --git a/launcher/protocol/agl-shell-desktop.xml b/launcher/protocol/agl-shell-desktop.xml index 6d53f92..05a3725 100644 --- a/launcher/protocol/agl-shell-desktop.xml +++ b/launcher/protocol/agl-shell-desktop.xml @@ -37,6 +37,11 @@ + + + + + The compositor may choose to advertise one or more application ids which @@ -58,6 +63,7 @@ description of app_id. + @@ -92,5 +98,16 @@ + + + + Notifies application(s) when other application have suffered state modifications. + + + + + + + diff --git a/launcher/src/shell-desktop.cpp b/launcher/src/shell-desktop.cpp index 8503c01..6573433 100644 --- a/launcher/src/shell-desktop.cpp +++ b/launcher/src/shell-desktop.cpp @@ -49,5 +49,5 @@ void Shell::activate_app(QWindow *win, const QString &app_id) output = getWlOutput(screen); qDebug() << "will activate app: " << app_id; agl_shell_desktop_activate_app(this->shell.get(), - app_id.toStdString().c_str(), output); + app_id.toStdString().c_str(), NULL, output); } -- cgit 1.2.3-korg