aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-07-27 20:38:27 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-07-27 20:41:25 +0200
commitd824fb94db2f33e56dd641df18b1327d361cae88 (patch)
tree44a728d5620604eb7a576ab8daa9658ea91d4811 /src/x11
parent6133e17b9a77d21a33f4dc30c3409aa19129cd08 (diff)
downloadglutin-d824fb94db2f33e56dd641df18b1327d361cae88.tar.gz
glutin-d824fb94db2f33e56dd641df18b1327d361cae88.zip
Draft for monitor API
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs
index 857ee92..46334af 100644
--- a/src/x11/mod.rs
+++ b/src/x11/mod.rs
@@ -1,4 +1,4 @@
-use {Event, Hints};
+use {Event, Hints, MonitorID};
use libc;
use std::{mem, ptr};
use std::sync::atomics::AtomicBool;
@@ -14,7 +14,7 @@ pub struct Window {
}
impl Window {
- pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints)
+ pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
-> Result<Window, String>
{
// calling XOpenDisplay