From f4e6b138fb442085787712d71029f8d16c663a27 Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Mon, 14 Aug 2017 19:22:28 +0200 Subject: Move wl_shell into wlroots --- include/wlr/types/wlr_wl_shell.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/wlr/types/wlr_wl_shell.h (limited to 'include/wlr') 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 + +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 -- cgit v1.2.3