homescreenhandler: Set the application currently app running 69/27069/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 29 Dec 2021 11:38:21 +0000 (13:38 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 29 Dec 2021 14:12:06 +0000 (16:12 +0200)
Bug-AGL: SPEC-4202
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifba64095536cee149ed80d94a42abeefdcdd16f4

homescreen/src/homescreenhandler.cpp

index ee8d614..d5e46fa 100644 (file)
@@ -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);
 }