From 62d8b252c093b3bd71362b1c76cb70b16a6cd63a Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 11 Aug 2017 09:37:09 -0400 Subject: Refactor meson and move xdg-shell into wlroots --- include/wlr/types/wlr_xdg_shell_v6.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/wlr/types/wlr_xdg_shell_v6.h (limited to 'include/wlr') 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 + +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 -- cgit v1.2.3