aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/window/mod.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs
index 9f600a8..5b1b42d 100644
--- a/src/x11/window/mod.rs
+++ b/src/x11/window/mod.rs
@@ -161,6 +161,11 @@ impl<'a> Iterator for PollEventsIterator<'a> {
}
},
+ ffi::Expose => {
+ use events::Event::Refresh;
+ return Some(Refresh);
+ },
+
ffi::MotionNotify => {
use events::Event::MouseMoved;
let event: &ffi::XMotionEvent = unsafe { mem::transmute(&xev) };