From ac0b2fdc6f95c914353f124bb1aad7976bfdbce0 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 17 Jul 2014 17:40:10 -0400 Subject: [PATCH] wayland: Use our named #define for the wl_shell version --- src/wayland/meta-wayland-surface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index bb05355e9..a560a3be9 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1757,7 +1757,8 @@ meta_wayland_shell_init (MetaWaylandCompositor *compositor) g_error ("Failed to register a global xdg-shell object"); if (wl_global_create (compositor->wayland_display, - &wl_shell_interface, 1, + &wl_shell_interface, + META_WL_SHELL_VERSION, compositor, bind_wl_shell) == NULL) g_error ("Failed to register a global wl-shell object");