MonitorID now defined by the implementations

This commit is contained in:
Tomaka17 2014-07-31 09:42:50 +02:00
parent 270e290af9
commit 8911e162ce
3 changed files with 13 additions and 3 deletions

View file

@ -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>