diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-11 09:37:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-08-11 09:37:09 -0400 |
commit | 62d8b252c093b3bd71362b1c76cb70b16a6cd63a (patch) | |
tree | ff109926a2e2e9f4ce8c445cbd8c07e4e9da59ef /include | |
parent | a6efb9038219562f65c20c997996b74dffed3910 (diff) |
Refactor meson and move xdg-shell into wlroots
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_xdg_shell_v6.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_xdg_shell_v6.h b/include/wlr/types/wlr_xdg_shell_v6.h new file mode 100644 index 00000000..3fe6189e --- /dev/null +++ b/include/wlr/types/wlr_xdg_shell_v6.h @@ -0,0 +1,20 @@ +#ifndef _WLR_XDG_SHELL_V6_H +#define _WLR_XDG_SHELL_V6_H +#include <wayland-server.h> + +struct wlr_xdg_shell_v6 { + struct wl_global *wl_global; + struct wl_list wl_resources; + struct wl_list surfaces; +}; + +struct wlr_xdg_surface_v6 { + struct wl_resource *resource; + struct wl_resource *surface; + struct wl_list link; +}; + +struct wlr_xdg_shell_v6 *wlr_xdg_shell_v6_init(struct wl_display *display); +void wlr_xdg_shell_v6_destroy(struct wlr_xdg_shell_v6 *xdg_shell); + +#endif |