mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-24 02:49:48 +01:00
22 lines
449 B
C
22 lines
449 B
C
|
#ifndef _EXAMPLE_COMPOSITOR_H
|
||
|
#define _EXAMPLE_COMPOSITOR_H
|
||
|
#include <wayland-server.h>
|
||
|
|
||
|
struct wl_compositor_state {
|
||
|
struct wl_global *wl_global;
|
||
|
struct wl_list wl_resources;
|
||
|
};
|
||
|
|
||
|
void wl_compositor_init(struct wl_display *display,
|
||
|
struct wl_compositor_state *state);
|
||
|
|
||
|
struct wl_shell_state {
|
||
|
struct wl_global *wl_global;
|
||
|
struct wl_list wl_resources;
|
||
|
};
|
||
|
|
||
|
void wl_shell_init(struct wl_display *display,
|
||
|
struct wl_shell_state *state);
|
||
|
|
||
|
#endif
|