Force ELM_WAYLAND_EGL if engine set called when DISPLAY not set
authorMikko Ylinen <mikko.ylinen@intel.com>
Thu, 10 Jan 2013 12:30:37 +0000 (14:30 +0200)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 15 Dec 2014 14:37:07 +0000 (15:37 +0100)
commit16d7506dbf5bb9622d48b7b051d2a7b95ba5ccbd
tree2c5cb6b961b463ffb2e9c4ab147e91b145f04583
parent71f5fd4b47fe556b187b88b2d0943f3e6acb1d23
Force ELM_WAYLAND_EGL if engine set called when DISPLAY not set

Some applications are directly calling elm_config_preferred_engine_set.
To avoid patching all apps to work with Wayland, always set
ELM_WAYLAND_EGL if elm_config_preferred_engine_set is called with
EGL_OPENGL_X11 or EGL_SOFTWARE_X11 when DISPLAY is not set.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
src/lib/elm_config.c