During _elm_config_sub_shutdown we were explicitly calling
ecore_wl2_shutdown. We should only be doing this if we are actually in
a wayland environment.
@fix
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
if (ecore_x_display_get()) ecore_x_shutdown();
#endif
#ifdef HAVE_ELEMENTARY_WL2
- if (_elm_wl_display) ecore_wl2_display_disconnect(_elm_wl_display);
- ecore_wl2_shutdown();
+ if (_elm_wl_display)
+ {
+ ecore_wl2_display_disconnect(_elm_wl_display);
+ ecore_wl2_shutdown();
+ }
#endif
#ifdef HAVE_ELEMENTARY_WIN32
ecore_win32_shutdown();