aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/mod.rs')
-rw-r--r--src/x11/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs
index 580a897..0311b9a 100644
--- a/src/x11/mod.rs
+++ b/src/x11/mod.rs
@@ -197,7 +197,7 @@ impl Window {
}
pub fn set_position(&self, x: uint, y: uint) {
- unimplemented!()
+ unsafe { ffi::XMoveWindow(self.display, self.window, x as libc::c_int, y as libc::c_int) }
}
pub fn get_inner_size(&self) -> Option<(uint, uint)> {