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

@ -2,7 +2,7 @@ use std::kinds::marker::NoSend;
use std::sync::Mutex;
use std::sync::atomics::AtomicBool;
use std::ptr;
use {Event, Hints, MonitorID};
use {Event, Hints};
mod event;
mod ffi;
@ -17,6 +17,8 @@ pub struct Window {
nosend: NoSend,
}
pub struct MonitorID(uint);
/// Stores the list of all the windows.
/// Only available on callback thread.
local_data_key!(pub WINDOWS_LIST: Mutex<Vec<(ffi::HWND, Sender<Event>)>>)