On Wed, 24 May 2017 20:31:39 -0400 "William L. Thomson Jr." <[email protected]>
said:

> It seems I am down to the following question.
> 
> How to tell if EFL is using Wayland? Before calling ecore_wl_init,
> without using ENV variables.

you aren't really meant to know. we try and hide it. you could guess from
environment variables set. there's also ELM_DISPLAY which specifically tells
elm which display system to use (set it to x or wl to choose) if both DISPLAY
and WAYLAND_DISPLAY are set). it could also be set to "fb" to ignore these env
vars and display direct to the framebuffer.

efl decides what to use based on which env vars are set to which values. if its
on windows or osx then it doesnt need to decide as it has only one option.

> If that is possible. Then I can call either ecore_x_init, or
> ecore_wl_init for now. Eventually just calling elm_init as I already am.
> 
> -- 
> William L. Thomson Jr.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to