1#![doc = include_str!("../README.md")]
4#![allow(deprecated)]
5#![cfg_attr(docsrs, feature(doc_cfg))]
6
7pub use gdk;
8pub use gdk4_x11_sys as ffi;
9pub use gio;
10pub use glib;
11#[cfg(all(feature = "v4_4", feature = "egl"))]
12#[cfg_attr(docsrs, doc(cfg(all(feature = "v4_4", feature = "egl"))))]
13pub use khronos_egl;
14#[cfg(feature = "xlib")]
15#[cfg_attr(docsrs, doc(cfg(feature = "xlib")))]
16pub use x11;
17#[macro_use]
18mod rt;
19
20#[allow(clippy::upper_case_acronyms)]
21#[allow(clippy::let_and_return)]
22#[allow(unused_imports)]
23mod auto;
24
25pub mod builders;
26pub mod prelude;
27
28mod functions;
29mod x11_display;
30mod x11_monitor;
31mod x11_screen;
32mod x11_surface;
33
34pub use auto::*;
35pub use functions::*;
36
37#[cfg(not(feature = "xlib"))]
38pub type XID = libc::c_ulong;
39#[cfg(not(feature = "xlib"))]
40pub type XWindow = XID;
41#[cfg(not(feature = "xlib"))]
42pub type XCursor = XID;
43#[cfg(not(feature = "xlib"))]
44pub type XAtom = XID;