From: Marius Vlad Date: Tue, 21 Apr 2020 12:21:28 +0000 (+0300) Subject: agl-shell-desktop: Updates to the latest protocol X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fsandbox%2Fmvlad%2Fagl-compositor-old;p=apps%2Flauncher.git agl-shell-desktop: Updates to the latest protocol Signed-off-by: Marius Vlad --- 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); }