parent
3f69cbb189
commit
e567d7f4fd
4 changed files with 4 additions and 4 deletions
|
|
@ -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) }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue