aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/mod.rs
diff options
context:
space:
mode:
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