From 2ff393fe623d10f2ea89262013ba66e228cc0c94 Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Wed, 22 Oct 2014 08:04:13 +0200 Subject: Update for rustc and gl-rs --- src/x11/window/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/x11/window/mod.rs') diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index ad10e16..cb73958 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -1,7 +1,7 @@ use {Event, WindowBuilder}; use libc; use std::{mem, ptr}; -use std::sync::atomics::AtomicBool; +use std::sync::atomic::AtomicBool; use super::ffi; pub use self::monitor::{MonitorID, get_available_monitors, get_primary_monitor}; @@ -260,7 +260,7 @@ impl Window { } pub fn is_closed(&self) -> bool { - use std::sync::atomics::Relaxed; + use std::sync::atomic::Relaxed; self.is_closed.load(Relaxed) } @@ -340,7 +340,7 @@ impl Window { ffi::ClientMessage => { use Closed; - use std::sync::atomics::Relaxed; + use std::sync::atomic::Relaxed; let client_msg: &ffi::XClientMessageEvent = unsafe { mem::transmute(&xev) }; -- cgit v1.2.3