Implement set_window_position for x11
This commit is contained in:
parent
d08c94daac
commit
eee9e298ba
2 changed files with 2 additions and 1 deletions
|
|
@ -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)> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue