From 3178064d30e6bfee79501da57dd4d76c3aac1163 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 6 May 2016 13:42:20 -0400 Subject: [PATCH] ensure xwayland module init does not fail due to early startup comp_type may not be set at the time of init --- src/modules/xwayland/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/xwayland/e_mod_main.c b/src/modules/xwayland/e_mod_main.c index 49c9ec1fb..3e5c895f0 100644 --- a/src/modules/xwayland/e_mod_main.c +++ b/src/modules/xwayland/e_mod_main.c @@ -349,7 +349,7 @@ xwl_init(E_Module *m) char disp[8]; /* make sure it's a wayland compositor */ - if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return NULL; + if (e_comp->comp_type == E_PIXMAP_TYPE_X) return NULL; if (getenv("DISPLAY")) {