From 5dae8e1be81e12299d78b4319fd63c1edd24c08a Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Tue, 15 Aug 2017 02:08:32 +0200 Subject: example compositor: only iterate over wl_shell and xdg_shell surfaces --- include/wlr/types/wlr_wl_shell.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_wl_shell.h b/include/wlr/types/wlr_wl_shell.h index f96cf702..80583ae9 100644 --- a/include/wlr/types/wlr_wl_shell.h +++ b/include/wlr/types/wlr_wl_shell.h @@ -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; }; -- cgit v1.2.3