MonitorID now defined by the implementations
This commit is contained in:
parent
270e290af9
commit
8911e162ce
3 changed files with 13 additions and 3 deletions
|
|
@ -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>)>>)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue