-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxcb_xembed.h
130 lines (90 loc) · 2.04 KB
/
xcb_xembed.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#include "xcb_trl.h"
#ifdef __cplusplus
extern "C" {
#endif
/* macros */
#ifndef XEMBED_EMBEDDED_NOTIFY
#define XEMBED_EMBEDDED_NOTIFY 0
#endif
#ifndef XEMBED_WINDOW_ACTIVATE
#define XEMBED_WINDOW_ACTIVATE 1
#endif
#ifndef XEMBED_WINDOW_DEACTIVATE
#define XEMBED_WINDOW_DEACTIVATE 2
#endif
#ifndef XEMBED_REQUEST_FOCUS
#define XEMBED_REQUEST_FOCUS 3
#endif
#ifndef XEMBED_FOCUS_IN
#define XEMBED_FOCUS_IN 4
#endif
#ifndef XEMBED_FOCUS_OUT
#define XEMBED_FOCUS_OUT 5
#endif
#ifndef XEMBED_FOCUS_NEXT
#define XEMBED_FOCUS_NEXT 6
#endif
#ifndef XEMBED_FOCUS_PREV
#define XEMBED_FOCUS_PREV 7
#endif
#ifndef XEMBED_MODALITY_ON
#define XEMBED_MODALITY_ON 10
#endif
#ifndef XEMBED_MODALITY_OFF
#define XEMBED_MODALITY_OFF 11
#endif
#ifndef XEMBED_REGISTER_ACCELERATOR
#define XEMBED_REGISTER_ACCELERATOR 12
#endif
#ifndef XEMBED_UNREGISTER_ACCELERATOR
#define XEMBED_UNREGISTER_ACCELERATOR 13
#endif
#ifndef XEMBED_ACTIVATE_ACCELERATOR
#define XEMBED_ACTIVATE_ACCELERATOR 14
#endif
#ifndef XEMBED_FOCUS_CURRENT
#define XEMBED_FOCUS_CURRENT 0
#endif
#ifndef XEMBED_FOCUS_FIRST
#define XEMBED_FOCUS_FIRST 1
#endif
#ifndef XEMBED_FOCUS_LAST
#define XEMBED_FOCUS_LAST 2
#endif
#ifndef XEMBED_MODIFIER_SHIFT
#define XEMBED_MODIFIER_SHIFT (1 << 0)
#endif
#ifndef XEMBED_MODIFIER_CONTROL
#define XEMBED_MODIFIER_CONTROL (1 << 1)
#endif
#ifndef XEMBED_MODIFIER_ALT
#define XEMBED_MODIFIER_ALT (1 << 2)
#endif
#ifndef XEMBED_MODIFIER_SUPER
#define XEMBED_MODIFIER_SUPER (1 << 3)
#endif
#ifndef XEMBED_MODIFIER_HYPER
#define XEMBED_MODIFIER_HYPER (1 << 4)
#endif
#ifndef XEMBED_ACCELERATOR_OVERLOADED
#define XEMBED_ACCELERATOR_OVERLOADED (1 << 0)
#endif
enum XEMBEDATOMS
{
Xembed,
XEMBEDLAST,
};
void
XCBInitXembedAtomsCookie(
XCBDisplay *display,
XCBCookie *xembed_cookie_return
);
void
XCBInitXembedAtomsReply(
XCBDisplay *display,
XCBCookie *cookies,
XCBAtom *atom_return
);
#ifdef __cplusplus
}
#endif