diff options
Diffstat (limited to 'src/x11/mod.rs')
-rw-r--r-- | src/x11/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs index c9541b9..4c88a0b 100644 --- a/src/x11/mod.rs +++ b/src/x11/mod.rs @@ -279,7 +279,7 @@ impl Window { self.get_geometry().map(|(x, y, _, _)| (x, y)) } - pub fn set_position(&self, x: uint, y: uint) { + pub fn set_position(&self, x: int, y: int) { unsafe { ffi::XMoveWindow(self.display, self.window, x as libc::c_int, y as libc::c_int) } } |