wlroots/include/wlr/types/wlr_wl_shell.h

26 lines
478 B
C
Raw Normal View History

2017-08-14 17:22:28 +00:00
#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;
struct wl_list surfaces;
2017-08-14 17:22:28 +00:00
void *data;
};
struct wlr_wl_shell_surface {
struct wl_resource *surface;
2017-08-14 17:22:28 +00:00
struct wlr_texture *wlr_texture;
struct wl_list link;
2017-08-14 17:22:28 +00:00
void *data;
};
struct wlr_wl_shell *wlr_wl_shell_create(struct wl_display *display);
2017-08-14 17:22:28 +00:00
void wlr_wl_shell_destroy(struct wlr_wl_shell *wlr_wl_shell);
#endif