From c61c33a833ebbf874885d3c48491f8307bffe68e Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 10 Mar 2015 10:29:07 +0100 Subject: Add set_cursor_position function --- src/x11/window/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/x11') diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index 404324a..7845d07 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -785,4 +785,8 @@ impl Window { pub fn hidpi_factor(&self) -> f32 { 1.0 } + + pub fn set_cursor_position(&self, x: i32, y: i32) -> Result<(), ()> { + unimplemented!(); + } } -- cgit v1.2.3