From 5dda16702164d59a75d8c36373cf29a8d7f4d58f Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Sat, 2 Aug 2014 08:24:30 +0200 Subject: Add iterators for events and WindowBuilder --- src/x11/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/x11') 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) + pub fn new(dimensions: Option<(uint, uint)>, title: &str, _: Option) -> Result { // calling XOpenDisplay -- cgit v1.2.3