From 4af44df30c1784a69b96d310f152133a507bc2e1 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 20 Jan 2023 16:32:35 +0200 Subject: protocol, grpc-proxy: Add support for set_app_float Add support for setting a window as float/popup. This allows either the application itself be set-up as float, or from other gRPC clients. Bug-AGL: SPEC-4673 Signed-off-by: Marius Vlad Change-Id: Ic7ee8203cd9c4dfcc51b7fc9709f35be504ae9d0 --- grpc-proxy/main-grpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grpc-proxy/main-grpc.cpp') diff --git a/grpc-proxy/main-grpc.cpp b/grpc-proxy/main-grpc.cpp index d094be5..ea609f0 100644 --- a/grpc-proxy/main-grpc.cpp +++ b/grpc-proxy/main-grpc.cpp @@ -260,7 +260,7 @@ global_add(void *data, struct wl_registry *reg, uint32_t id, sh->shell = static_cast(wl_registry_bind(reg, id, &agl_shell_interface, - std::min(static_cast(5), version))); + std::min(static_cast(6), version))); agl_shell_add_listener(sh->shell, &shell_listener, data); sh->version = version; } else if (strcmp(interface, "wl_output") == 0) { @@ -284,7 +284,7 @@ global_add_init(void *data, struct wl_registry *reg, uint32_t id, sh->shell = static_cast(wl_registry_bind(reg, id, &agl_shell_interface, - std::min(static_cast(5), version))); + std::min(static_cast(6), version))); agl_shell_add_listener(sh->shell, &shell_listener_init, data); sh->version = version; } -- cgit 1.2.3-korg