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