aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-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