summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-10-19 16:20:45 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-10-19 16:20:45 -0400
commit89245476c0633ff3b1c74e9df736c20097292810 (patch)
treea54ca8187ae2dbda0fe1707f6e7e20256ee1ab7e /src/lib/ecore_wayland
parent265ad8b5d0c46ad17de790e85ceaa593d7a5dd24 (diff)
ecore-wayland: only do deferred shell surface creation when a surface exists
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index e336e9519e..8d020cdbfe 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
713 h = _ecore_wl_window_hash_get(); 713 h = _ecore_wl_window_hash_get();
714 it = eina_hash_iterator_data_new(h); 714 it = eina_hash_iterator_data_new(h);
715 EINA_ITERATOR_FOREACH(it, win) 715 EINA_ITERATOR_FOREACH(it, win)
716 _ecore_wl_window_shell_surface_init(win); 716 if (win->surface)
717 _ecore_wl_window_shell_surface_init(win);
717 } 718 }
718 else if (!strcmp(interface, "wl_shell")) 719 else if (!strcmp(interface, "wl_shell"))
719 { 720 {