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 | use std::os::raw::{c_int, c_uint, c_ulong}; |
6 | |
7 | use super::xinput::XDevice; |
8 | use super::xlib::{Display, Visual, GC}; |
9 | |
10 | // |
11 | // functions |
12 | // |
13 | |
14 | x11_link! { Xf86vmode, xtst, ["libXtst.so.6" , "libXtst.so" ], 15, |
15 | pub fn XTestCompareCurrentCursorWithWindow (_2: *mut Display, _1: c_ulong) -> c_int, |
16 | pub fn XTestCompareCursorWithWindow (_3: *mut Display, _2: c_ulong, _1: c_ulong) -> c_int, |
17 | pub fn XTestDiscard (_1: *mut Display) -> c_int, |
18 | pub fn XTestFakeButtonEvent (_4: *mut Display, _3: c_uint, _2: c_int, _1: c_ulong) -> c_int, |
19 | pub fn XTestFakeDeviceButtonEvent (_7: *mut Display, _6: *mut XDevice, _5: c_uint, _4: c_int, _3: *mut c_int, _2: c_int, _1: c_ulong) -> c_int, |
20 | pub fn XTestFakeDeviceKeyEvent (_7: *mut Display, _6: *mut XDevice, _5: c_uint, _4: c_int, _3: *mut c_int, _2: c_int, _1: c_ulong) -> c_int, |
21 | pub fn XTestFakeDeviceMotionEvent (_7: *mut Display, _6: *mut XDevice, _5: c_int, _4: c_int, _3: *mut c_int, _2: c_int, _1: c_ulong) -> c_int, |
22 | pub fn XTestFakeKeyEvent (_4: *mut Display, _3: c_uint, _2: c_int, _1: c_ulong) -> c_int, |
23 | pub fn XTestFakeMotionEvent (_5: *mut Display, _4: c_int, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, |
24 | pub fn XTestFakeProximityEvent (_6: *mut Display, _5: *mut XDevice, _4: c_int, _3: *mut c_int, _2: c_int, _1: c_ulong) -> c_int, |
25 | pub fn XTestFakeRelativeMotionEvent (_5: *mut Display, _4: c_int, _3: c_int, _2: c_int, _1: c_ulong) -> c_int, |
26 | pub fn XTestGrabControl (_2: *mut Display, _1: c_int) -> c_int, |
27 | pub fn XTestQueryExtension (_5: *mut Display, _4: *mut c_int, _3: *mut c_int, _2: *mut c_int, _1: *mut c_int) -> c_int, |
28 | pub fn XTestSetGContextOfGC (_2: GC, _1: c_ulong) -> (), |
29 | pub fn XTestSetVisualIDOfVisual (_2: *mut Visual, _1: c_ulong) -> (), |
30 | variadic: |
31 | globals: |
32 | } |
33 | |