aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-07-31 09:42:50 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-07-31 09:42:50 +0200
commit8911e162ce526dd8025b7740fd643041d5624a54 (patch)
tree2ca40054a63729813f6905cdab8e7a48542c45c8 /src/win32
parent270e290af9f83590fe81504ec555d3a7da3cc303 (diff)
downloadglutin-8911e162ce526dd8025b7740fd643041d5624a54.tar.gz
glutin-8911e162ce526dd8025b7740fd643041d5624a54.zip
MonitorID now defined by the implementations
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/win32/mod.rs b/src/win32/mod.rs
index 65374b7..a5df94c 100644
--- a/src/win32/mod.rs
+++ b/src/win32/mod.rs
@@ -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>)>>)