From 4e4624dee9850b4a4e590dd0f0f2b3173bded085 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 1 Mar 2023 16:57:38 +0200 Subject: grpc-proxy: Add set_app_fullscreen functionality This implements set_app_fullscreen which clients can set-up before being mapped. The worthwhile change here was the fact that transitioning between fullscreen, normal, and float would cause invalid tracking of the active window when switching between these states. This would make floating operation display the incorrect active window, so in order to reconcile that, we only update the previous surface if it is different that the current active one. Otherwise this fairly similar to set_app_float. Bug-AGL: SPEC-4673 Signed-off-by: Marius Vlad Change-Id: Ie912c86ff7ac38d034cf4d97b2adbc5ef47ce9d3 --- grpc-proxy/agl_shell.proto | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'grpc-proxy/agl_shell.proto') diff --git a/grpc-proxy/agl_shell.proto b/grpc-proxy/agl_shell.proto index f8a57d2..200d43e 100644 --- a/grpc-proxy/agl_shell.proto +++ b/grpc-proxy/agl_shell.proto @@ -8,6 +8,7 @@ service AglShellManagerService { rpc DeactivateApp(DeactivateRequest) returns (DeactivateResponse) {} rpc SetAppSplit(SplitRequest) returns (SplitResponse) {} rpc SetAppFloat(FloatRequest) returns (FloatResponse) {} + rpc SetAppFullscreen(FullscreenRequest) returns (FullscreenResponse) {} rpc AppStatusState(AppStateRequest) returns (stream AppStateResponse) {} rpc GetOutputs(OutputRequest) returns (ListOutputResponse) {} rpc SetAppNormal(NormalRequest) returns (NormalResponse) {} @@ -70,3 +71,10 @@ message NormalRequest { message NormalResponse { }; + +message FullscreenRequest { + string app_id = 1; +}; + +message FullscreenResponse { +}; -- cgit 1.2.3-korg