From ac7e3bfe645b9ab5f016feca353d4b2b2d042125 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 16 Oct 2012 11:57:13 +0000 Subject: [PATCH] Ecore_Wayland: Fix binding of output. Signed-off-by: Christopher Michael SVN revision: 78052 --- legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c index 5e6c38d46a..c30086d053 100644 --- a/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c +++ b/legacy/ecore/src/lib/ecore_wayland/ecore_wl_output.c @@ -35,7 +35,9 @@ _ecore_wl_output_add(Ecore_Wl_Display *ewd, unsigned int id) output->display = ewd; - output->output = wl_display_bind(ewd->wl.display, id, &wl_output_interface); + output->output = + wl_registry_bind(ewd->wl.registry, id, &wl_output_interface, 1); + wl_list_insert(ewd->outputs.prev, &output->link); wl_output_add_listener(output->output, &_ecore_wl_output_listener, output); }