wlmaker
Loading...
Searching...
No Matches
xwl.h
Go to the documentation of this file.
1/* ========================================================================= */
22#ifndef __XWL_H__
23#define __XWL_H__
24
27
28#include "server.h"
29
30#ifdef __cplusplus
31extern "C" {
32#endif // __cplusplus
33
34#if defined(WLMAKER_HAVE_XWAYLAND)
35
36#define WLR_USE_UNSTABLE
37#include <wlr/xwayland.h>
38#undef WLR_USE_UNSTABLE
39
41typedef enum {
42 NET_WM_WINDOW_TYPE_NORMAL,
43 NET_WM_WINDOW_TYPE_DIALOG,
44 NET_WM_WINDOW_TYPE_UTILITY,
45 NET_WM_WINDOW_TYPE_TOOLBAR,
46 NET_WM_WINDOW_TYPE_SPLASH,
47 NET_WM_WINDOW_TYPE_MENU,
48 NET_WM_WINDOW_TYPE_DROPDOWN_MENU,
49 NET_WM_WINDOW_TYPE_POPUP_MENU,
50 NET_WM_WINDOW_TYPE_TOOLTIP,
51 NET_WM_WINDOW_TYPE_NOTIFICATION,
52
53 // Sentinel element.
54 XWL_MAX_ATOM_ID
56#endif // defined(WLMAKER_HAVE_XWAYLAND)
57
67
74
75#if defined(WLMAKER_HAVE_XWAYLAND)
76
88 wlmaker_xwl_t *xwl_ptr,
89 struct wlr_xwayland_surface *wlr_xwayland_surface_ptr,
90 const xwl_atom_identifier_t *atom_identifiers);
91
93const char *xwl_atom_name(
94 wlmaker_xwl_t *xwl_ptr,
95 xcb_atom_t atom);
96
97#ifdef __cplusplus
98} // extern "C"
99#endif // __cplusplus
100
101#endif // defined(WLMAKER_HAVE_XWAYLAND)
102#endif /* __XWL_H__ */
103/* == End of xwl.h ========================================================= */
Definition server.h:89
Definition xwl.c:80
wlmaker_server_t * server_ptr
Definition xwl.c:82
xwl_atom_identifier_t
Definition xwl.h:41
const char * xwl_atom_name(wlmaker_xwl_t *xwl_ptr, xcb_atom_t atom)
Definition xwl.c:207
bool xwl_is_window_type(wlmaker_xwl_t *xwl_ptr, struct wlr_xwayland_surface *wlr_xwayland_surface_ptr, const xwl_atom_identifier_t *atom_identifiers)
Definition xwl.c:188
wlmaker_xwl_t * wlmaker_xwl_create(wlmaker_server_t *server_ptr)
Definition xwl.c:127
void wlmaker_xwl_destroy(wlmaker_xwl_t *xwl_ptr)
Definition xwl.c:164