ecore_wl2: Don't request shell surfaces for all window types

Now that cursors are "windows", this results in a mess.  So skip at least
NONE and DND for now.
This commit is contained in:
Derek Foreman 2017-01-04 13:12:56 -06:00
parent 120063ad76
commit df72ddf43c
1 changed files with 3 additions and 1 deletions

View File

@ -159,7 +159,9 @@ _cb_global_add(void *data, struct wl_registry *registry, unsigned int id, const
xdg_shell_add_listener(ewd->wl.xdg_shell, &_xdg_shell_listener, NULL);
EINA_INLIST_FOREACH(ewd->windows, window)
_ecore_wl2_window_shell_surface_init(window);
if ((window->type != ECORE_WL2_WINDOW_TYPE_DND) &&
(window->type != ECORE_WL2_WINDOW_TYPE_NONE))
_ecore_wl2_window_shell_surface_init(window);
}
else if (!strcmp(interface, "zxdg_shell_v6"))
{