wlmaker
Loading...
Searching...
No Matches
xdg_shell.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __XDG_SHELL_H__
21#define __XDG_SHELL_H__
22
23#include <wayland-server-core.h>
24#define WLR_USE_UNSTABLE
25#include <wlr/types/wlr_xdg_shell.h>
26#undef WLR_USE_UNSTABLE
27
31
32#include "server.h" // IWYU pragma: keep
33
34#ifdef __cplusplus
35extern "C" {
36#endif // __cplusplus
37
42
44 struct wlr_xdg_shell *wlr_xdg_shell_ptr;
45
47 struct wl_listener new_surface_listener;
48
50 struct wl_listener new_toplevel_listener;
52 struct wl_listener new_popup_listener;
54 struct wl_listener destroy_listener;
55};
56
65
72
73#ifdef __cplusplus
74} // extern "C"
75#endif // __cplusplus
76
77#endif /* __XDG_SHELL_H__ */
78/* == End of xdg_shell.h =================================================== */
Definition server.h:84
Definition xdg_shell.h:39
struct wl_listener new_surface_listener
Definition xdg_shell.h:47
struct wl_listener new_toplevel_listener
Definition xdg_shell.h:50
wlmaker_server_t * server_ptr
Definition xdg_shell.h:41
struct wl_listener new_popup_listener
Definition xdg_shell.h:52
struct wl_listener destroy_listener
Definition xdg_shell.h:54
struct wlr_xdg_shell * wlr_xdg_shell_ptr
Definition xdg_shell.h:44
void wlmaker_xdg_shell_destroy(wlmaker_xdg_shell_t *xdg_shell_ptr)
Definition xdg_shell.c:94
wlmaker_xdg_shell_t * wlmaker_xdg_shell_create(wlmaker_server_t *server_ptr)
Definition xdg_shell.c:56