forked from enlightenment/enlightenment
ensure xwayland module init does not fail due to early startup
comp_type may not be set at the time of init
This commit is contained in:
parent
01c261e9f7
commit
3178064d30
|
@ -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"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue