aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-08-15 02:08:32 +0200
committerDominique Martinet <asmadeus@codewreck.org>2017-08-15 15:34:26 +0200
commit5dae8e1be81e12299d78b4319fd63c1edd24c08a (patch)
tree63cf6c28475371aa4c4c68b934f16aeb3b464d8c /include
parentf4e6b138fb442085787712d71029f8d16c663a27 (diff)
example compositor: only iterate over wl_shell and xdg_shell surfaces
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_wl_shell.h3
1 files changed, 3 insertions, 0 deletions
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;
};