Move wl_shell into wlroots

This commit is contained in:
Dominique Martinet 2017-08-14 19:22:28 +02:00
parent f60b53c6e3
commit f4e6b138fb
6 changed files with 58 additions and 43 deletions

View file

@ -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