mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Refactor meson and move xdg-shell into wlroots
This commit is contained in:
parent
a6efb90382
commit
62d8b252c0
11 changed files with 232 additions and 177 deletions
20
include/wlr/types/wlr_xdg_shell_v6.h
Normal file
20
include/wlr/types/wlr_xdg_shell_v6.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#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;
|
||||
};
|
||||
|
||||
struct wlr_xdg_surface_v6 {
|
||||
struct wl_resource *resource;
|
||||
struct wl_resource *surface;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
struct wlr_xdg_shell_v6 *wlr_xdg_shell_v6_init(struct wl_display *display);
|
||||
void wlr_xdg_shell_v6_destroy(struct wlr_xdg_shell_v6 *xdg_shell);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue