[mutter] wayland: Use our named #define for the wl_shell version
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Use our named #define for the wl_shell version
- Date: Thu, 17 Jul 2014 21:50:37 +0000 (UTC)
commit ac0b2fdc6f95c914353f124bb1aad7976bfdbce0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jul 17 17:40:10 2014 -0400
wayland: Use our named #define for the wl_shell version
src/wayland/meta-wayland-surface.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index bb05355..a560a3b 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]