aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_wl_shell.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_wl_shell.h b/include/wlr/types/wlr_wl_shell.h
new file mode 100644
index 00000000..f96cf702
--- /dev/null
+++ b/include/wlr/types/wlr_wl_shell.h
@@ -0,0 +1,23 @@
+#ifndef _WLR_WL_SHELL_H
+#define _WLR_WL_SHELL_H
+#include <wayland-server.h>
+
+struct wlr_wl_shell {
+ struct wl_global *wl_global;
+ struct wl_list wl_resources;
+
+ void *data;
+};
+
+struct wlr_wl_shell_surface {
+ struct wlr_texture *wlr_texture;
+
+ void *data;
+};
+
+
+void wlr_wl_shell_init(struct wlr_wl_shell *wlr_wl_shell,
+ struct wl_display *display);
+void wlr_wl_shell_destroy(struct wlr_wl_shell *wlr_wl_shell);
+
+#endif