aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/ffi.rs')
-rw-r--r--src/x11/ffi.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs
index e33ea24..c58647f 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -1485,6 +1485,10 @@ extern "C" {
pointer_mode: libc::c_int, keyboard_mode: libc::c_int, confine_to: Window, cursor: Cursor,
time: Time) -> libc::c_int;
pub fn XUngrabPointer(dpy: *mut Display, time: Time);
+
+ pub fn XWarpPointer(display: *mut Display, src_w: Window, dest_w: Window, src_x: libc::c_int,
+ src_y: libc::c_int, src_width: libc::c_uint, src_height: libc::c_uint,
+ dest_x: libc::c_int, dest_y: libc::c_int);
}
/*