summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-01-15 15:29:24 +0200
committerMarius Vlad <marius.vlad@collabora.com>2024-01-15 18:34:44 +0200
commit45fe29549378629ef5952a62e12887f007ce89f5 (patch)
tree98669b18de3c5fd08456f622a3f42faaa5b46ad0
parent2c522c4ef64678d4445a57fb86550c9db8f019bb (diff)
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 <marius.vlad@collabora.com> Change-Id: I138b47915f5a532c8f7321f04b5e9daa7a63de64
-rw-r--r--homescreen/src/homescreenhandler.cpp2
1 files changed, 2 insertions, 0 deletions
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);