fix x11 detection for wayland compositor setup

ref T2609
This commit is contained in:
Mike Blumenkrantz 2015-07-28 12:32:50 -04:00
parent 9138b484d1
commit db41479414
1 changed files with 1 additions and 1 deletions

View File

@ -2500,7 +2500,7 @@ _e_comp_wl_compositor_create(void)
}
#ifndef HAVE_WAYLAND_ONLY
if (getenv("DISPLAY"))
if (e_comp_util_has_x())
{
E_Config_XKB_Layout *ekbd;
Ecore_X_Atom xkb = 0;