aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/window
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-01-05 14:30:42 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-01-05 14:39:58 +0100
commit885d5e9c386df2a4057a34871f8095260c33c493 (patch)
treeeb3c92dac3696742341c97bcd1d3ca2ce1fe42a1 /src/x11/window
parentbfd21793a8cc8c04b9f4ad294e11f7e6aa435bd7 (diff)
downloadglutin-885d5e9c386df2a4057a34871f8095260c33c493.tar.gz
glutin-885d5e9c386df2a4057a34871f8095260c33c493.zip
Update for Rustc
Diffstat (limited to 'src/x11/window')
-rw-r--r--src/x11/window/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs
index 1309fd4..9d79ad4 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -351,7 +351,7 @@ impl Window {
}
pub fn is_closed(&self) -> bool {
- use std::sync::atomic::Relaxed;
+ use std::sync::atomic::Ordering::Relaxed;
self.is_closed.load(Relaxed)
}
@@ -453,7 +453,7 @@ impl Window {
ffi::ClientMessage => {
use events::Event::{Closed, Awakened};
- use std::sync::atomic::Relaxed;
+ use std::sync::atomic::Ordering::Relaxed;
let client_msg: &ffi::XClientMessageEvent = unsafe { mem::transmute(&xev) };