MonitorID now defined by the implementations
This commit is contained in:
parent
270e290af9
commit
8911e162ce
3 changed files with 13 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use {Event, Hints, MonitorID};
|
||||
use {Event, Hints};
|
||||
use libc;
|
||||
use std::{mem, ptr};
|
||||
use std::sync::atomics::AtomicBool;
|
||||
|
|
@ -14,6 +14,8 @@ pub struct Window {
|
|||
wm_delete_window: ffi::Atom,
|
||||
}
|
||||
|
||||
pub struct MonitorID(uint);
|
||||
|
||||
impl Window {
|
||||
pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
|
||||
-> Result<Window, String>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue