From 45fe29549378629ef5952a62e12887f007ce89f5 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Mon, 15 Jan 2024 15:29:24 +0200 Subject: homescreenhandler: Fix activation on the default use-case We seem to be missing one of the branches that searches for a pending output to activate. This is only been seen when setting the application from the start to a different output. Anotehr oversight from gRPC proxy changes. Fixes AglShellGrpcClient: Activate windows with gRPC Bug-AGL: SPEC-5048 Signed-off-by: Marius Vlad Change-Id: I138b47915f5a532c8f7321f04b5e9daa7a63de64 --- homescreen/src/homescreenhandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homescreen/src/homescreenhandler.cpp b/homescreen/src/homescreenhandler.cpp index d81e22f..9fd439d 100644 --- a/homescreen/src/homescreenhandler.cpp +++ b/homescreen/src/homescreenhandler.cpp @@ -146,6 +146,8 @@ void HomescreenHandler::activateApp(const QString& app_id) new_remote_output.c_str(), app_id.toStdString().c_str()); default_output_name = new_remote_output; + } else { + default_output_name = output_name.toStdString(); } pending_app_list.erase(iter); -- cgit 1.2.3-korg