summaryrefslogtreecommitdiffstats
path: root/grpc-proxy/grpc-async-cb.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-01-31 14:15:02 +0200
committerMarius Vlad <marius.vlad@collabora.com>2024-02-22 13:51:33 +0000
commitb87f46acc5b0b252e4642f2130ef3093294afac8 (patch)
treecad2a4c6490281b803b68ead719ab33477a6f8e4 /grpc-proxy/grpc-async-cb.cpp
parent083ee3d2b88f49612dfab230990e54c3edbf3aef (diff)
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 <marius.vlad@collabora.com> Change-Id: I82f36e86f56b0a65cbacac8368b63f68df69a350
Diffstat (limited to 'grpc-proxy/grpc-async-cb.cpp')
-rw-r--r--grpc-proxy/grpc-async-cb.cpp2
1 files changed, 1 insertions, 1 deletions
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);