discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=89245476c0633ff3b1c74e9df736c20097292810

commit 89245476c0633ff3b1c74e9df736c20097292810
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Oct 19 16:20:45 2015 -0400

    ecore-wayland: only do deferred shell surface creation when a surface exists
---
 src/lib/ecore_wayland/ecore_wl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index e336e95..8d020cd 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -713,7 +713,8 @@ _ecore_wl_cb_handle_global(void *data, struct wl_registry 
*registry, unsigned in
         h = _ecore_wl_window_hash_get();
         it = eina_hash_iterator_data_new(h);
         EINA_ITERATOR_FOREACH(it, win)
-          _ecore_wl_window_shell_surface_init(win);
+          if (win->surface)
+            _ecore_wl_window_shell_surface_init(win);
      }
    else if (!strcmp(interface, "wl_shell"))
      {

-- 


Reply via email to