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>
Thu, 12 Mar 2015 02:23:04 +0000 (11:23 +0900)
commit3a3bec32bcbf1079e9886a9576114bf458c42508
tree920f89b3b5aac7b83abb8fa3d4e15dcce52262f1
parenta8a704d3c1442f417697a3009587c2427615d264
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