From 000b725db81ae79ffec0a7a84a2c4aab2778dc82 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 31 Jan 2024 19:10:34 +0200 Subject: 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 Change-Id: Iae4d18d2a857497c11d0e77bf43f654e2b8ed501 --- grpc-proxy/grpc-async-cb.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'grpc-proxy/grpc-async-cb.cpp') 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); -- cgit 1.2.3-korg