From f273b7e91ceef3351a4f7decd631cedab89a7fc7 Mon Sep 17 00:00:00 2001 From: Vasyl Vavrychuk Date: Tue, 20 Sep 2022 10:43:26 +0200 Subject: 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 Change-Id: I2cccf0a3303f7aec5faab699193edeff1242efd2 --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(data); if (strcmp(interface, agl_shell_interface.name) == 0) { *shell = static_cast(wl_registry_bind(reg, - name, &agl_shell_interface, version) + name, &agl_shell_interface, 1) ); } } -- cgit 1.2.3-korg