aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-11 09:37:09 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-11 09:37:09 -0400
commit62d8b252c093b3bd71362b1c76cb70b16a6cd63a (patch)
treeff109926a2e2e9f4ce8c445cbd8c07e4e9da59ef /include
parenta6efb9038219562f65c20c997996b74dffed3910 (diff)
Refactor meson and move xdg-shell into wlroots
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_xdg_shell_v6.h20
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