From b87f46acc5b0b252e4642f2130ef3093294afac8 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 31 Jan 2024 14:15:02 +0200 Subject: grpc-proxy/shell: Add width for split window It might be useful in the future to let clients choose how much of the window to split so allow passing that. Note that there's no actual implementation but if there's a need in the future it can be easily added so it's better to add this now. Bug-AGL: SPEC-4839 Signed-off-by: Marius Vlad Change-Id: I82f36e86f56b0a65cbacac8368b63f68df69a350 --- grpc-proxy/grpc-async-cb.cpp | 2 +- 1 file changed, 1 insertion(+), 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 8c4ed24..23a293d 100644 --- a/grpc-proxy/grpc-async-cb.cpp +++ b/grpc-proxy/grpc-async-cb.cpp @@ -225,7 +225,7 @@ GrpcServiceImpl::SetAppSplit(grpc::CallbackServerContext *context, LOG("m_aglShell not set-up\n"); return nullptr; } - m_aglShell->SetAppSplit(request->app_id(), request->tile_orientation(), request->output_name()); + m_aglShell->SetAppSplit(request->app_id(), request->tile_orientation(), request->width(), request->output_name()); grpc::ServerUnaryReactor* reactor = context->DefaultReactor(); reactor->Finish(grpc::Status::OK); -- cgit