aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2014-12-18 10:57:12 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2014-12-18 10:57:12 +1000
commit435c64f4732dbf6fa4e92d04a962e42e34f21f1a (patch)
tree1231a006d0cc59220a598608412b0765f770618e /src/x11
parent9dc5689eef87cace5e6ac6b5438928a1c99688c4 (diff)
downloadglutin-435c64f4732dbf6fa4e92d04a962e42e34f21f1a.tar.gz
glutin-435c64f4732dbf6fa4e92d04a962e42e34f21f1a.zip
Fix event name
Diffstat (limited to 'src/x11')
-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 6ea14c5..57ae22d 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -446,7 +446,7 @@ impl Window {
},
ffi::ClientMessage => {
- use events::Event::{Closed, Refresh};
+ use events::Event::{Closed, Awakened};
use std::sync::atomic::Relaxed;
let client_msg: &ffi::XClientMessageEvent = unsafe { mem::transmute(&xev) };
@@ -455,7 +455,7 @@ impl Window {
self.is_closed.store(true, Relaxed);
events.push(Closed);
} else {
- events.push(Refresh);
+ events.push(Awakened);
}
},