From d824fb94db2f33e56dd641df18b1327d361cae88 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Sun, 27 Jul 2014 20:38:27 +0200 Subject: Draft for monitor API --- src/win32/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/win32') diff --git a/src/win32/mod.rs b/src/win32/mod.rs index 481436c..03c262f 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}; +use {Event, Hints, MonitorID}; mod event; mod ffi; @@ -22,7 +22,8 @@ pub struct Window { local_data_key!(pub WINDOWS_LIST: Mutex)>>) impl Window { - pub fn new(dimensions: Option<(uint, uint)>, title: &str, _hints: &Hints) + pub fn new(dimensions: Option<(uint, uint)>, title: &str, + _hints: &Hints, _monitor: Option) -> Result { use std::mem; -- cgit v1.2.3