wayland: Use our named #define for the wl_shell version
This commit is contained in:
parent
46b9984414
commit
ac0b2fdc6f
@ -1757,7 +1757,8 @@ meta_wayland_shell_init (MetaWaylandCompositor *compositor)
|
|||||||
g_error ("Failed to register a global xdg-shell object");
|
g_error ("Failed to register a global xdg-shell object");
|
||||||
|
|
||||||
if (wl_global_create (compositor->wayland_display,
|
if (wl_global_create (compositor->wayland_display,
|
||||||
&wl_shell_interface, 1,
|
&wl_shell_interface,
|
||||||
|
META_WL_SHELL_VERSION,
|
||||||
compositor, bind_wl_shell) == NULL)
|
compositor, bind_wl_shell) == NULL)
|
||||||
g_error ("Failed to register a global wl-shell object");
|
g_error ("Failed to register a global wl-shell object");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user