Force ELM_WAYLAND_EGL if engine set called when DISPLAY not set 96/166796/2
authorMikko Ylinen <mikko.ylinen@intel.com>
Thu, 10 Jan 2013 12:30:37 +0000 (14:30 +0200)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Fri, 12 Jan 2018 04:46:51 +0000 (04:46 +0000)
commitc6512ced9c863b01ca5551f31ef325d6d4bbda92
treecefadf6de7f52bf838c8e2afd08dcc6de6c7f4f8
parent6768bfd23834542b0f13f1cbc87aeb8917677aed
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.

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