On Thu, 25 May 2017 10:19:13 +0900
Carsten Haitzler (The Rasterman) <[email protected]> wrote:

> 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.

What is it with hiding data? What good is that? Just makes things more
difficult for others. Isn't part of the idea of FOSS open data?

> 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.

I already said environment variables are not an option.

> 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.

I really do not care. I just need to replace ecore_x_init with something
that will replace its function for both X and Wayland.

I spent hours on this today trying various things. I do not need
details, explanations etc. I just need code to open a window when
environment variables are not present.

Thus far without calling ecore_x_init, no window shows. I tried all
sorts of other things that did not work. Seems more guessing than
knowing the solution.

-- 
William L. Thomson Jr.

Attachment: pgpWMJZ0q6pk1.pgp
Description: OpenPGP digital signature

------------------------------------------------------------------------------
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