XCB  1.13.1
xparsec_roles.h
1 #ifndef XPARSEC_ROLES_H
2 #define XPARSEC_ROLES_H
3 
4 /*alex: roles of privileged clients*/
5 #define PROP_R (0x1 << 0)
6 #define CLIPB_R (0x1 << 1)
7 #define SNAP_R (0x1 << 2)
8 #define REPARENT_R (0x1 << 3)
9 #define KBD_R (0x1 << 4)
10 #define MAC_R (0x1 << 5)
11 #define HOST_R (0x1 << 6)
12 #define NESTED_R (0x1 << 7)
13 #define WM_R (PROP_R | SNAP_R | REPARENT_R | KBD_R | HOST_R)
14 /* all, but not nested*/
15 #define ALL_R (PROP_R | SNAP_R | REPARENT_R | KBD_R | HOST_R | MAC_R | CLIPB_R)
16 
17 #define PROP_R_STR "PROP_R"
18 #define CLIPB_R_STR "CLIPB_R"
19 #define SNAP_R_STR "SNAP_R"
20 #define REPARENT_R_STR "REPARENT_R"
21 #define KBD_R_STR "KDB_R"
22 #define MAC_R_STR "MAC_R"
23 #define HOST_R_STR "HOST_R"
24 #define NESTED_R_STR "NESTED_R"
25 #define WM_R_STR "WM_R"
26 #define ALL_R_STR "ALL_R"
27 
28 #endif