devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=04a4b599aba597552f466e81ee2e7d2473877ea4
commit 04a4b599aba597552f466e81ee2e7d2473877ea4 Author: Chris Michael <cpmich...@osg.samsung.com> Date: Fri Dec 4 11:35:35 2015 -0500 ecore-evas-wl: Cleanup creating a wayland canvas Unsure where all these extra display_connect calls came from, but remove them. @fix Signed-off-by: Chris Michael <cpmich...@osg.samsung.com> --- .../engines/wayland/ecore_evas_wayland_egl.c | 21 --------------------- .../engines/wayland/ecore_evas_wayland_shm.c | 21 --------------------- 2 files changed, 42 deletions(-) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c index cb7befb..8f4fea9 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c @@ -149,27 +149,6 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent, return NULL; } - ewd = ecore_wl2_display_connect(disp_name); - if (!ewd) - { - ERR("Failed to connect to Wayland Display %s", disp_name); - return NULL; - } - - ewd = ecore_wl2_display_connect(disp_name); - if (!ewd) - { - ERR("Failed to connect to Wayland Display %s", disp_name); - return NULL; - } - - ewd = ecore_wl2_display_connect(disp_name); - if (!ewd) - { - ERR("Failed to connect to Wayland Display %s", disp_name); - return NULL; - } - if (!(ee = calloc(1, sizeof(Ecore_Evas)))) { ERR("Failed to allocate Ecore_Evas"); diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c index e8be589..c516de6 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c @@ -148,27 +148,6 @@ ecore_evas_wayland_shm_new_internal(const char *disp_name, unsigned int parent, return NULL; } - ewd = ecore_wl2_display_connect(disp_name); - if (!ewd) - { - ERR("Failed to connect to Wayland Display %s", disp_name); - return NULL; - } - - ewd = ecore_wl2_display_connect(disp_name); - if (!ewd) - { - ERR("Failed to connect to Wayland Display %s", disp_name); - return NULL; - } - - ewd = ecore_wl2_display_connect(disp_name); - if (!ewd) - { - ERR("Failed to connect to Wayland Display %s", disp_name); - return NULL; - } - if (!(ee = calloc(1, sizeof(Ecore_Evas)))) { ERR("Failed to allocate Ecore_Evas"); --