summaryrefslogtreecommitdiffstats
path: root/grpc-proxy/main-grpc.cpp
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-01-20 16:32:35 +0200
committerMarius Vlad <marius.vlad@collabora.com>2023-03-01 12:38:14 +0200
commit4af44df30c1784a69b96d310f152133a507bc2e1 (patch)
tree473b08dcd8123a3c30f2f8931972b98caa78b22d /grpc-proxy/main-grpc.cpp
parent65fc5191f046ad8c7ba1bfd9e2e75afb925b4a21 (diff)
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 <marius.vlad@collabora.com> Change-Id: Ic7ee8203cd9c4dfcc51b7fc9709f35be504ae9d0
Diffstat (limited to 'grpc-proxy/main-grpc.cpp')
-rw-r--r--grpc-proxy/main-grpc.cpp4
1 files changed, 2 insertions, 2 deletions
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<struct agl_shell *>(wl_registry_bind(reg, id,
&agl_shell_interface,
- std::min(static_cast<uint32_t>(5), version)));
+ std::min(static_cast<uint32_t>(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<struct agl_shell *>(wl_registry_bind(reg, id,
&agl_shell_interface,
- std::min(static_cast<uint32_t>(5), version)));
+ std::min(static_cast<uint32_t>(6), version)));
agl_shell_add_listener(sh->shell, &shell_listener_init, data);
sh->version = version;
}