wlmaker
Loading...
Searching...
No Matches
xdg_popup.h
Go to the documentation of this file.
1/* ========================================================================= */
20#ifndef __XDG_POPUP_H__
21#define __XDG_POPUP_H__
22
23#include "toolkit/toolkit.h"
24
25#define WLR_USE_UNSTABLE
26#include <wlr/types/wlr_xdg_shell.h>
27#undef WLR_USE_UNSTABLE
28
29#ifdef __cplusplus
30extern "C" {
31#endif // __cplusplus
32
35
40
44 struct wlr_xdg_popup *wlr_xdg_popup_ptr;
45
47 struct wl_listener reposition_listener;
49 struct wl_listener destroy_listener;
51 struct wl_listener new_popup_listener;
52
54 struct wl_listener surface_map_listener;
55};
56
64 struct wlr_xdg_popup *wlr_xdg_popup_ptr,
65 wlmtk_env_t *env_ptr);
66
73 wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr);
74
75#ifdef __cplusplus
76} // extern "C"
77#endif // __cplusplus
78
79#endif /* __XDG_POPUP_H__ */
80/* == End of xdg_popup.h =================================================== */
Definition xdg_popup.h:37
wlmtk_surface_t * surface_ptr
Definition xdg_popup.h:42
struct wlr_xdg_popup * wlr_xdg_popup_ptr
Definition xdg_popup.h:44
struct wl_listener new_popup_listener
Definition xdg_popup.h:51
wlmtk_content_t super_content
Definition xdg_popup.h:39
struct wl_listener destroy_listener
Definition xdg_popup.h:49
struct wl_listener surface_map_listener
Definition xdg_popup.h:54
struct wl_listener reposition_listener
Definition xdg_popup.h:47
Definition content.h:111
Definition env.c:32
Definition surface.h:46
void wlmaker_xdg_popup_destroy(wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr)
Definition xdg_popup.c:92
wlmaker_xdg_popup_t * wlmaker_xdg_popup_create(struct wlr_xdg_popup *wlr_xdg_popup_ptr, wlmtk_env_t *env_ptr)
Definition xdg_popup.c:45