aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-12-29 13:38:21 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-12-29 16:12:06 +0200
commit8fb557550d4d3a7b799134af672f499531cc407e (patch)
tree1a02a55b50cc164a0bd6c3f02433f566aff48eff
parentfda3079ca8ff4a6ec6a67981ba1cdc56a8c0c3ab (diff)
homescreenhandler: Set the application currently app running
Bug-AGL: SPEC-4202 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ifba64095536cee149ed80d94a42abeefdcdd16f4
-rw-r--r--homescreen/src/homescreenhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp
index ee8d614..d5e46fa 100644
--- a/homescreen/src/homescreenhandler.cpp
+++ b/homescreen/src/homescreenhandler.cpp
@@ -131,11 +131,11 @@ void HomescreenHandler::tapShortcut(QString application_id)
// require calling 'agl_shell_activate_app'
agl_shell_activate_app(agl_shell, application_id.toStdString().c_str(), output);
- if (mp_launcher) {
- mp_launcher->setCurrent(application_id);
- }
#endif
+ if (mp_launcher) {
+ mp_launcher->setCurrent(application_id);
+ }
appStarted(application_id);
}