aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/mod.rs
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2014-08-02 09:49:54 +0200
committertomaka <pierre.krieger1708@gmail.com>2014-08-02 09:49:54 +0200
commitaf756b9add1afb3c752ee2dec9e2d11fcbf5b2e0 (patch)
treec087244f783b60dff1baf46d7f7cc6f6d206fc50 /src/x11/mod.rs
parent959613870c23e2ca26bee268c46f8062095c2382 (diff)
parent5dda16702164d59a75d8c36373cf29a8d7f4d58f (diff)
downloadglutin-af756b9add1afb3c752ee2dec9e2d11fcbf5b2e0.tar.gz
glutin-af756b9add1afb3c752ee2dec9e2d11fcbf5b2e0.zip
Merge pull request #8 from tomaka/breaking-api-changes
Add WindowBuilder and iterators for events
Diffstat (limited to 'src/x11/mod.rs')
-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 76339f5..bc89aed 100644
--- a/src/x11/mod.rs
+++ b/src/x11/mod.rs
@@ -1,4 +1,4 @@
-use {Event, Hints};
+use Event;
use libc;
use std::{mem, ptr};
use std::sync::atomics::AtomicBool;
@@ -33,7 +33,7 @@ impl MonitorID {
}
impl Window {
- pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option<MonitorID>)
+ pub fn new(dimensions: Option<(uint, uint)>, title: &str, _: Option<MonitorID>)
-> Result<Window, String>
{
// calling XOpenDisplay