mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Move wl_shell into wlroots
This commit is contained in:
parent
f60b53c6e3
commit
f4e6b138fb
6 changed files with 58 additions and 43 deletions
23
include/wlr/types/wlr_wl_shell.h
Normal file
23
include/wlr/types/wlr_wl_shell.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue