1 | use super::xlib::Display; |
---|---|
2 | use std::os::raw::c_void; |
3 | |
4 | x11_link! { Xlib_xcb, xlib_xcb, ["libX11-xcb.so.1", "libX11-xcb.so"], 2, |
5 | pub fn XGetXCBConnection(_1: *mut Display) -> *mut xcb_connection_t, |
6 | pub fn XSetEventQueueOwner(_1: *mut Display, _2: XEventQueueOwner) -> (), |
7 | variadic: |
8 | globals: |
9 | } |
10 | |
11 | pub enum XEventQueueOwner { |
12 | XlibOwnsEventQueue = 0, |
13 | XCBOwnsEventQueue = 1, |
14 | } |
15 | |
16 | pub type xcb_connection_t = c_void; |
17 |