gdk4_x11/
lib.rs

1// Take a look at the license at the top of the repository in the LICENSE file.
2
3#![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(unused_imports)]
22mod auto;
23
24pub mod builders;
25pub mod prelude;
26
27mod functions;
28mod x11_display;
29mod x11_monitor;
30mod x11_screen;
31mod x11_surface;
32
33pub use auto::*;
34pub use functions::*;
35
36#[cfg(not(feature = "xlib"))]
37pub type XID = libc::c_ulong;
38#[cfg(not(feature = "xlib"))]
39pub type XWindow = XID;
40#[cfg(not(feature = "xlib"))]
41pub type XCursor = XID;
42#[cfg(not(feature = "xlib"))]
43pub type XAtom = XID;