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
30
31#include "server.h" // IWYU pragma: keep
32
33#ifdef __cplusplus
34extern "C" {
35#endif // __cplusplus
36
41
43 struct wlr_xdg_shell *wlr_xdg_shell_ptr;
44
46 struct wl_listener new_surface_listener;
47
49 struct wl_listener new_toplevel_listener;
51 struct wl_listener new_popup_listener;
53 struct wl_listener destroy_listener;
54};
55
64
71
72#ifdef __cplusplus
73} // extern "C"
74#endif // __cplusplus
75
76#endif /* __XDG_SHELL_H__ */
77/* == End of xdg_shell.h =================================================== */
Definition server.h:84
Definition xdg_shell.h:38
struct wl_listener new_surface_listener
Definition xdg_shell.h:46
struct wl_listener new_toplevel_listener
Definition xdg_shell.h:49
wlmaker_server_t * server_ptr
Definition xdg_shell.h:40
struct wl_listener new_popup_listener
Definition xdg_shell.h:51
struct wl_listener destroy_listener
Definition xdg_shell.h:53
struct wlr_xdg_shell * wlr_xdg_shell_ptr
Definition xdg_shell.h:43
void wlmaker_xdg_shell_destroy(wlmaker_xdg_shell_t *xdg_shell_ptr)
Definition xdg_shell.c:79
wlmaker_xdg_shell_t * wlmaker_xdg_shell_create(wlmaker_server_t *server_ptr)
Definition xdg_shell.c:48