From 8911e162ce526dd8025b7740fd643041d5624a54 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Thu, 31 Jul 2014 09:42:50 +0200 Subject: MonitorID now defined by the implementations --- src/x11/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/x11/mod.rs') 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) -> Result -- cgit v1.2.3