example compositor: only iterate over wl_shell and xdg_shell surfaces

This commit is contained in:
Dominique Martinet 2017-08-15 02:08:32 +02:00
parent f4e6b138fb
commit 5dae8e1be8
5 changed files with 42 additions and 20 deletions

View file

@ -5,12 +5,15 @@
struct wlr_wl_shell {
struct wl_global *wl_global;
struct wl_list wl_resources;
struct wl_list surfaces;
void *data;
};
struct wlr_wl_shell_surface {
struct wl_resource *surface;
struct wlr_texture *wlr_texture;
struct wl_list link;
void *data;
};