diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-09 17:30:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 17:30:51 -0400 |
commit | 3ce1341e3c0276ef20df5c7b89cc9ce260d05b9e (patch) | |
tree | 76b53d12dde6ec82f989a1a7bd72146058189374 /examples/compositor.h | |
parent | df378d32740495d33dc46e799a547adc9b9620e1 (diff) | |
parent | bd2e9a7168dc530c03b7b45ecfdd5ce0aff0ddb8 (diff) |
Merge pull request #43 from acrisci/feature/shell-surface-interface
shell surface interface
Diffstat (limited to 'examples/compositor.h')
-rw-r--r-- | examples/compositor.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/compositor.h b/examples/compositor.h index abe1a743..4649a8d3 100644 --- a/examples/compositor.h +++ b/examples/compositor.h @@ -19,7 +19,18 @@ struct wl_shell_state { struct wl_list wl_resources; }; +struct xdg_shell_state { + struct wl_global *wl_global; + struct wl_list wl_resources; + struct wl_display *display; +}; + 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); + +void xdg_shell_release(struct xdg_shell_state *state); + #endif |