In working on pinentry, it seems for some reason I am needing to call
ecore_x_init. Otherwise you do not get a window. Per recent discussion
over ecrire, one should not have any ecore_x or ecore_wl, etc code. Or
be bound to one or the other.

It seems there is a need for a wrapper around ecore_x_init and
ecore_wl_init, at minimum. Maybe need to create such for the others,
win32 and cocoa. It seems like I will need to produce something along
those lines to solve the problem.

The code is

  if (pe->display)
    ecore_x_init (pe->display);

But I may need ecore_wl_init, if wayland is in use. For now I need to
see about detecting if under Wayland or X, so I can switch accordingly.

Unless others have some input. The full code is here
https://github.com/Obsidian-StudiosInc/pinentry/blob/master/efl/pinentry-efl.c

-- 
William L. Thomson Jr.

Attachment: pgp5ccLzycnng.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