summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-05-06 13:42:20 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-05-06 13:42:20 -0400
commit3178064d30e6bfee79501da57dd4d76c3aac1163 (patch)
tree4a378c0879f9a979449efb36ee96ac93c6909845
parent01c261e9f70dd194ccc4780f2717b7d68e9fd480 (diff)
downloadenlightenment-3178064d30e6bfee79501da57dd4d76c3aac1163.tar.gz
ensure xwayland module init does not fail due to early startup
comp_type may not be set at the time of init
-rw-r--r--src/modules/xwayland/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/xwayland/e_mod_main.c b/src/modules/xwayland/e_mod_main.c
index 49c9ec1fb5..3e5c895f0f 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"))
{