diff options
Diffstat (limited to 'examples/compositor.h')
-rw-r--r-- | examples/compositor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/compositor.h b/examples/compositor.h index abe1a743..5d652dbe 100644 --- a/examples/compositor.h +++ b/examples/compositor.h @@ -19,7 +19,15 @@ struct wl_shell_state { struct wl_list wl_resources; }; +struct xdg_shell_state { + struct wl_global *wl_global; + struct wl_list wl_resources; +}; + void wl_shell_init(struct wl_display *display, struct wl_shell_state *state); +void xdg_shell_init(struct wl_display *display, + struct xdg_shell_state *state); + #endif |