diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-14 19:22:28 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-15 15:13:23 +0200 |
commit | f4e6b138fb442085787712d71029f8d16c663a27 (patch) | |
tree | ddd6659476f5d4fa15743ec5ac07be54c38d99c8 /include/wlr | |
parent | f60b53c6e3c91aefa432ce75deb89560a8e5c0d7 (diff) |
Move wl_shell into wlroots
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_wl_shell.h | 23 |
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 |