summaryrefslogtreecommitdiffstats
path: root/grpc-proxy/grpc-async-cb.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-01-31 19:10:34 +0200
committerMarius Vlad <marius.vlad@collabora.com>2024-02-22 13:51:33 +0000
commit000b725db81ae79ffec0a7a84a2c4aab2778dc82 (patch)
treecdcbd2f10846bf126ad0a5c598101e7d37ea2390 /grpc-proxy/grpc-async-cb.cpp
parentb87f46acc5b0b252e4642f2130ef3093294afac8 (diff)
grpc-proxy/shell: Add sticky parameter when setting up split window
This allow to further customize how to handle the split window. There's no implementation in the compositor for allow this functionality to take place, but doing so can be at a later point in time. Tagging the split window as sticky should allow activation of other windows while keeping the split window always displayed. Bug-AGL: SPEC-4839 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iae4d18d2a857497c11d0e77bf43f654e2b8ed501
Diffstat (limited to 'grpc-proxy/grpc-async-cb.cpp')
-rw-r--r--grpc-proxy/grpc-async-cb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/grpc-proxy/grpc-async-cb.cpp b/grpc-proxy/grpc-async-cb.cpp
index 23a293d..6807564 100644
--- a/grpc-proxy/grpc-async-cb.cpp
+++ b/grpc-proxy/grpc-async-cb.cpp
@@ -225,7 +225,9 @@ GrpcServiceImpl::SetAppSplit(grpc::CallbackServerContext *context,
LOG("m_aglShell not set-up\n");
return nullptr;
}
- m_aglShell->SetAppSplit(request->app_id(), request->tile_orientation(), request->width(), request->output_name());
+ m_aglShell->SetAppSplit(request->app_id(), request->tile_orientation(),
+ request->width(), request->sticky(),
+ request->output_name());
grpc::ServerUnaryReactor* reactor = context->DefaultReactor();
reactor->Finish(grpc::Status::OK);