forked from enlightenment/efl
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:
parent
120063ad76
commit
df72ddf43c
|
@ -159,6 +159,8 @@ _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)
|
||||
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"))
|
||||
|
|
Loading…
Reference in New Issue