2017-08-11 15:37:09 +02:00
|
|
|
#ifndef _WLR_XDG_SHELL_V6_H
|
|
|
|
#define _WLR_XDG_SHELL_V6_H
|
|
|
|
#include <wayland-server.h>
|
|
|
|
|
|
|
|
struct wlr_xdg_shell_v6 {
|
|
|
|
struct wl_global *wl_global;
|
|
|
|
struct wl_list wl_resources;
|
|
|
|
struct wl_list surfaces;
|
2017-08-11 20:23:53 +02:00
|
|
|
|
|
|
|
void *data;
|
2017-08-11 15:37:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct wlr_xdg_surface_v6 {
|
|
|
|
struct wl_resource *resource;
|
|
|
|
struct wl_resource *surface;
|
|
|
|
struct wl_list link;
|
2017-08-11 20:23:53 +02:00
|
|
|
|
2017-09-11 23:24:55 +02:00
|
|
|
struct wl_listener surface_destroy_listener;
|
|
|
|
|
2017-08-11 20:23:53 +02:00
|
|
|
void *data;
|
2017-08-11 15:37:09 +02:00
|
|
|
};
|
|
|
|
|
2017-08-15 15:33:54 +02:00
|
|
|
struct wlr_xdg_shell_v6 *wlr_xdg_shell_v6_create(struct wl_display *display);
|
2017-08-11 15:37:09 +02:00
|
|
|
void wlr_xdg_shell_v6_destroy(struct wlr_xdg_shell_v6 *xdg_shell);
|
|
|
|
|
|
|
|
#endif
|