aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
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/x11
parent270e290af9f83590fe81504ec555d3a7da3cc303 (diff)
downloadglutin-8911e162ce526dd8025b7740fd643041d5624a54.tar.gz
glutin-8911e162ce526dd8025b7740fd643041d5624a54.zip
MonitorID now defined by the implementations
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/x11/mod.rs b/src/x11/mod.rs
index cc70a01..e00dc50 100644
--- a/src/x11/mod.rs
+++ b/src/x11/mod.rs
@@ -1,4 +1,4 @@
-use {Event, Hints, MonitorID};
+use {Event, Hints};
use libc;
use std::{mem, ptr};
use std::sync::atomics::AtomicBool;
@@ -14,6 +14,8 @@ pub struct Window {
wm_delete_window: ffi::Atom,
}
+pub struct MonitorID(uint);
+
impl Window {
pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
-> Result<Window, String>