diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2023-07-31 14:41:48 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2023-08-29 13:31:20 +0000 |
commit | ca537df2c52990acf97fb1c42ec2d993c60eae2d (patch) | |
tree | 04dee27f2bec9969285547bb7815238264bf2bff /grpc-proxy/main-grpc.cpp | |
parent | 2edba91d3eab0d7b3c490c12be1f9bc3b5255aa8 (diff) |
grpc-proxy: Add dynamic scale of floating windows
This adds basic scaling for floating windows, sending new dimensions to
the clients to resize itself.
Bug-AGL: SPEC-4862
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic693153cd704b278dcddd2514afc8dafecf8829b
Diffstat (limited to 'grpc-proxy/main-grpc.cpp')
-rw-r--r-- | grpc-proxy/main-grpc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grpc-proxy/main-grpc.cpp b/grpc-proxy/main-grpc.cpp index 740594f..b2eca84 100644 --- a/grpc-proxy/main-grpc.cpp +++ b/grpc-proxy/main-grpc.cpp @@ -275,7 +275,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>(9), version))); + std::min(static_cast<uint32_t>(10), version))); agl_shell_add_listener(sh->shell, &shell_listener, data); sh->version = version; } else if (strcmp(interface, "wl_output") == 0) { @@ -299,7 +299,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>(9), version))); + std::min(static_cast<uint32_t>(10), version))); agl_shell_add_listener(sh->shell, &shell_listener_init, data); sh->version = version; } |