forked from enlightenment/efl
ecore-wayland: only do deferred shell surface creation when a surface exists
This commit is contained in:
parent
265ad8b5d0
commit
89245476c0
|
@ -713,7 +713,8 @@ _ecore_wl_cb_handle_global(void *data, struct wl_registry *registry, unsigned in
|
||||||
h = _ecore_wl_window_hash_get();
|
h = _ecore_wl_window_hash_get();
|
||||||
it = eina_hash_iterator_data_new(h);
|
it = eina_hash_iterator_data_new(h);
|
||||||
EINA_ITERATOR_FOREACH(it, win)
|
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"))
|
else if (!strcmp(interface, "wl_shell"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue