1 | // x11-rs: Rust bindings for X11 libraries |
2 | // The X11 libraries are available under the MIT license. |
3 | // These bindings are public domain. |
4 | |
5 | #![allow (non_camel_case_types)] |
6 | #![allow (non_snake_case)] |
7 | #![allow (non_upper_case_globals)] |
8 | #![allow (deref_nullptr)] |
9 | #![allow (clippy::missing_safety_doc)] |
10 | |
11 | extern crate libc; |
12 | |
13 | #[macro_use ] |
14 | mod link; |
15 | mod internal; |
16 | |
17 | pub mod error; |
18 | |
19 | #[macro_use ] |
20 | pub mod xlib; |
21 | |
22 | pub mod dpms; |
23 | pub mod glx; |
24 | pub mod keysym; |
25 | pub mod sync; |
26 | pub mod xcursor; |
27 | pub mod xf86vmode; |
28 | pub mod xfixes; |
29 | pub mod xft; |
30 | pub mod xinerama; |
31 | pub mod xinput; |
32 | pub mod xinput2; |
33 | pub mod xlib_xcb; |
34 | pub mod xmd; |
35 | pub mod xmu; |
36 | pub mod xpresent; |
37 | pub mod xrecord; |
38 | pub mod xrender; |
39 | pub mod xshm; |
40 | pub mod xss; |
41 | pub mod xt; |
42 | pub mod xtest; |
43 | |
44 | pub mod xrandr { |
45 | include!("xrandr.rs" ); |
46 | include!("old_xrandr.rs" ); |
47 | } |
48 | |