wlmaker
Loading...
Searching...
No Matches
src
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
30
struct
wlr_seat;
31
struct
wlr_xdg_popup;
32
33
struct
_wlmaker_xdg_popup_t
;
35
typedef
struct
_wlmaker_xdg_popup_t
wlmaker_xdg_popup_t
;
36
37
#ifdef __cplusplus
38
extern
"C"
{
39
#endif
// __cplusplus
40
42
struct
_wlmaker_xdg_popup_t
{
44
wlmtk_popup_t
super_popup
;
45
47
struct
wlr_seat *
wlr_seat_ptr
;
48
50
wlmtk_surface_t
*
surface_ptr
;
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
69
wlmaker_xdg_popup_t
*
wlmaker_xdg_popup_create
(
70
struct
wlr_xdg_popup *wlr_xdg_popup_ptr,
71
struct
wlr_seat *wlr_seat_ptr);
72
78
void
wlmaker_xdg_popup_destroy
(
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 =================================================== */
_wlmaker_xdg_popup_t
Definition
xdg_popup.h:42
_wlmaker_xdg_popup_t::surface_commit_listener
struct wl_listener surface_commit_listener
Definition
xdg_popup.h:61
_wlmaker_xdg_popup_t::surface_ptr
wlmtk_surface_t * surface_ptr
Definition
xdg_popup.h:50
_wlmaker_xdg_popup_t::wlr_xdg_popup_ptr
struct wlr_xdg_popup * wlr_xdg_popup_ptr
Definition
xdg_popup.h:52
_wlmaker_xdg_popup_t::new_popup_listener
struct wl_listener new_popup_listener
Definition
xdg_popup.h:59
_wlmaker_xdg_popup_t::wlr_seat_ptr
struct wlr_seat * wlr_seat_ptr
Definition
xdg_popup.h:47
_wlmaker_xdg_popup_t::super_popup
wlmtk_popup_t super_popup
Definition
xdg_popup.h:44
_wlmaker_xdg_popup_t::destroy_listener
struct wl_listener destroy_listener
Definition
xdg_popup.h:57
_wlmaker_xdg_popup_t::reposition_listener
struct wl_listener reposition_listener
Definition
xdg_popup.h:55
_wlmtk_popup_t
Definition
popup.h:43
_wlmtk_surface_t
Definition
surface.h:47
toolkit.h
wlmaker_xdg_popup_create
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
wlmaker_xdg_popup_destroy
void wlmaker_xdg_popup_destroy(wlmaker_xdg_popup_t *wlmaker_xdg_popup_ptr)
Definition
xdg_popup.c:122
Generated by
1.9.8