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)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 3 Mar 2015 02:47:38 +0000 (11:47 +0900)
commita1f55cc9761af057f0117b023e801ed66562a8a5
tree12f97eb8c1d94e8171d297b55ec3c72b22552994
parent565bdf5fd4113e37c824d51625d8ccb857a557b9
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