devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=576c43df8b800a566c6a3ea80524c95563f1190b
commit 576c43df8b800a566c6a3ea80524c95563f1190b Author: Seunghun Lee <[email protected]> Date: Mon Oct 20 11:53:18 2014 -0400 Remove HAVE_WAYLAND_ONLY dependency from searching and enabling backend module. Summary: this patch allows to enable wl_drm module(if it's exsited) without setting E_WL_FORCE as a wl_drm under HAVE_WAYLAND_ONLY. this patch also prevent a crash under below condition. running enlightenment with HAVE_WAYLAND_ONLY option and without set E_WL_FORCE occurs crash where try to refer E_Manager because E_Manager is created in wl_drm module. Reviewers: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1549 --- src/bin/e_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp.c b/src/bin/e_comp.c index 7d8fdd2..acd8ea8 100644 --- a/src/bin/e_comp.c +++ b/src/bin/e_comp.c @@ -1051,6 +1051,7 @@ e_comp_init(void) #ifndef HAVE_WAYLAND_ONLY if (!e_comp_x_init()) +#endif { const char **test, *eng[] = { @@ -1072,7 +1073,6 @@ e_comp_init(void) } return EINA_FALSE; } -#endif #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) e_comp_wl_init(); #endif --
