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 <wayland-server-core.h>
24#define WLR_USE_UNSTABLE
25#include <wlr/types/wlr_xdg_shell.h>
26#undef WLR_USE_UNSTABLE
27
28#include "toolkit/toolkit.h"
29
30struct wlr_seat;
31struct wlr_xdg_popup;
32
36
37#ifdef __cplusplus
38extern "C" {
39#endif // __cplusplus
40
45
47 struct wlr_seat *wlr_seat_ptr;
48
52 struct wlr_xdg_popup *wlr_xdg_popup_ptr;
53
55 struct wl_listener reposition_listener;
57 struct wl_listener destroy_listener;
59 struct wl_listener new_popup_listener;
61 struct wl_listener surface_commit_listener;
62};
63
70 struct wlr_xdg_popup *wlr_xdg_popup_ptr,
71 struct wlr_seat *wlr_seat_ptr);
72
79 wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr);
80
81#ifdef __cplusplus
82} // extern "C"
83#endif // __cplusplus
84
85#endif /* __XDG_POPUP_H__ */
86/* == End of xdg_popup.h =================================================== */
Definition xdg_popup.h:42
struct wl_listener surface_commit_listener
Definition xdg_popup.h:61
wlmtk_surface_t * surface_ptr
Definition xdg_popup.h:50
struct wlr_xdg_popup * wlr_xdg_popup_ptr
Definition xdg_popup.h:52
struct wl_listener new_popup_listener
Definition xdg_popup.h:59
struct wlr_seat * wlr_seat_ptr
Definition xdg_popup.h:47
wlmtk_popup_t super_popup
Definition xdg_popup.h:44
struct wl_listener destroy_listener
Definition xdg_popup.h:57
struct wl_listener reposition_listener
Definition xdg_popup.h:55
Definition popup.h:43
Definition surface.h:47
wlmaker_xdg_popup_t * wlmaker_xdg_popup_create(struct wlr_xdg_popup *wlr_xdg_popup_ptr, struct wlr_seat *wlr_seat_ptr)
Definition xdg_popup.c:64
void wlmaker_xdg_popup_destroy(wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr)
Definition xdg_popup.c:122