From 080ab6c1bee8d6c07ac3f0ba0550db84c4e785f2 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sat, 30 Apr 2011 10:41:27 +0200 Subject: [PATCH] compositor-wayland: Fix interface renames (prefix) --- compositor/compositor-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/compositor/compositor-wayland.c b/compositor/compositor-wayland.c index 4093f2a..66581d4 100644 --- a/compositor/compositor-wayland.c +++ b/compositor/compositor-wayland.c @@ -421,14 +421,14 @@ display_handle_global(struct wl_display *display, uint32_t id, { struct wayland_compositor *c = data; - if (strcmp(interface, "compositor") == 0) { + if (strcmp(interface, "wl_compositor") == 0) { c->parent.compositor = wl_compositor_create(display, id, 1); - } else if (strcmp(interface, "output") == 0) { + } else if (strcmp(interface, "wl_output") == 0) { c->parent.output = wl_output_create(display, id, 1); wl_output_add_listener(c->parent.output, &output_listener, c); - } else if (strcmp(interface, "input_device") == 0) { + } else if (strcmp(interface, "wl_input_device") == 0) { display_add_input(c, id); - } else if (strcmp(interface, "shell") == 0) { + } else if (strcmp(interface, "wl_shell") == 0) { c->parent.shell = wl_shell_create(display, id, 1); wl_shell_add_listener(c->parent.shell, &shell_listener, c); } -- 2.7.4