From d818752f81baa9c8f38700db53d9114cbb3cbeb8 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 25 Jan 2012 11:02:07 +0000 Subject: [PATCH] E Comp (wayland): Add big FIXME note wrt why wayland clients are not displaying. SVN revision: 67531 --- src/modules/comp/e_mod_comp_wl_output.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/modules/comp/e_mod_comp_wl_output.c b/src/modules/comp/e_mod_comp_wl_output.c index 63d0b4503..6812d98ae 100644 --- a/src/modules/comp/e_mod_comp_wl_output.c +++ b/src/modules/comp/e_mod_comp_wl_output.c @@ -88,9 +88,17 @@ e_mod_comp_wl_output_init(void) comp = e_mod_comp_wl_comp_get(); + /* NB: Fix me !! This is why wayland clients are not displaying. */ + /* The default wayland compositor creates it's egl surface against an + * 'output' window. Their output window is created with root window as + * the parent. This does not work in E17 due to the way E is handling + * backgrounds. Currently, wayland clients are getting created, but they + * do not display...or rather, they display below the E17 background. + * The fix here would be to use something other than roots[0] as the + * 'parent' of the output surface */ _wl_output->egl_surface = eglCreateWindowSurface(comp->egl.display, comp->egl.config, - roots[0], NULL); // NB: roots[0] == output->window + roots[0], NULL); free(roots); if (!_wl_output->egl_surface)