[PATCH] Wayland: Fix not add input.

zhiwen.wu at linux.intel.com zhiwen.wu at linux.intel.com
Wed May 23 00:31:44 PDT 2012


From: Alex Wu <zhiwen.wu at linux.intel.com>

wl_seat adopation patch didn't change the interface name from
"wl_input_device" to "wl_seat" at global object listener handler,
 so that no input will be added.
---
 src/lib/ecore_wayland/ecore_wl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 33d69e2..5abbd24 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -407,7 +407,7 @@ _ecore_wl_cb_handle_global(struct wl_display *disp, unsigned int id, const char
      ewd->wl.compositor = wl_display_bind(disp, id, &wl_compositor_interface);
    else if (!strcmp(interface, "wl_output"))
      _ecore_wl_output_add(ewd, id);
-   else if (!strcmp(interface, "wl_input_device"))
+   else if (!strcmp(interface, "wl_seat"))
      _ecore_wl_input_add(ewd, id);
    else if (!strcmp(interface, "wl_shell"))
      ewd->wl.shell = wl_display_bind(disp, id, &wl_shell_interface);
-- 
1.7.9.5



More information about the wayland-devel mailing list