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;
53 struct wl_listener surface_commit_listener;
54};
55
62 struct wlr_xdg_popup *wlr_xdg_popup_ptr,
63 wlmtk_env_t *env_ptr);
64
71 wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr);
72
73#ifdef __cplusplus
74} // extern "C"
75#endif // __cplusplus
76
77#endif /* __XDG_POPUP_H__ */
78/* == End of xdg_popup.h =================================================== */
Definition xdg_popup.h:37
struct wl_listener surface_commit_listener
Definition xdg_popup.h:53
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_popup_t super_popup
Definition xdg_popup.h:39
struct wl_listener destroy_listener
Definition xdg_popup.h:49
struct wl_listener reposition_listener
Definition xdg_popup.h:47
Definition env.c:32
Definition popup.h:40
Definition surface.h:46
void wlmaker_xdg_popup_destroy(wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr)
Definition xdg_popup.c:114
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:57