aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/ffi.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-12-18 20:36:37 +0100
committertomaka <pierre.krieger1708@gmail.com>2014-12-18 20:36:37 +0100
commit0164449955d1b4787fce03f8800e32f19fd04a01 (patch)
tree67da783cd51b2266add4ac7f11918d878f11f019 /src/x11/ffi.rs
parent94348113281828a2045efcf24536ab6b1aad837e (diff)
parent95f82927b37e27f1880e9941b316227f6c6baebc (diff)
downloadglutin-0164449955d1b4787fce03f8800e32f19fd04a01.tar.gz
glutin-0164449955d1b4787fce03f8800e32f19fd04a01.zip
Merge pull request #161 from glennw/thread-proxy
Introduce a WindowProxy for accessing a subset of functionality
Diffstat (limited to 'src/x11/ffi.rs')
-rw-r--r--src/x11/ffi.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs
index 3fe6499..1f8b10f 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -1420,6 +1420,8 @@ extern "C" {
x_return: *mut libc::c_int, y_return: *mut libc::c_int,
width_return: *mut libc::c_uint, height_return: *mut libc::c_uint,
border_width_return: *mut libc::c_uint, depth_return: *mut libc::c_uint) -> Status;
+ pub fn XSendEvent(display: *mut Display, window: Window, propagate: Bool,
+ event_mask: libc::c_long, event_send: *mut XEvent) -> Status;
pub fn XInternAtom(display: *mut Display, atom_name: *const libc::c_char,
only_if_exists: Bool) -> Atom;
pub fn XKeycodeToKeysym(display: *mut Display, keycode: KeyCode,