summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-09-20 10:43:26 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2022-09-22 10:19:48 +0000
commitf273b7e91ceef3351a4f7decd631cedab89a7fc7 (patch)
treeca59dd8c31548cfb5b826d59488cf5ba6ffc5c35 /app
parent8479190d2356e376c574c5433de1f6d0c5ba04ff (diff)
Bind to supported version of agl-shell.
Rather than using the latest version of the agl-shell protocol, restrict binding to version 1 until we gain support for later versions Bug-AGL: SPEC-4567 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I2cccf0a3303f7aec5faab699193edeff1242efd2
Diffstat (limited to 'app')
-rw-r--r--app/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.cpp b/app/main.cpp
index 775f7f5..44a2892 100644
--- a/app/main.cpp
+++ b/app/main.cpp
@@ -47,7 +47,7 @@ global_add(void *data, struct wl_registry *reg, uint32_t name,
struct agl_shell **shell = static_cast<struct agl_shell **>(data);
if (strcmp(interface, agl_shell_interface.name) == 0) {
*shell = static_cast<struct agl_shell *>(wl_registry_bind(reg,
- name, &agl_shell_interface, version)
+ name, &agl_shell_interface, 1)
);
}
}