summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/main.cpp')
-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)
);
}
}