aboutsummaryrefslogtreecommitdiffstats
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
parentecore-wayland: defer shell surface creation for windows if shell is not bound (diff)
downloadefl-89245476c0633ff3b1c74e9df736c20097292810.tar.gz
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
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"))
{