diff options
Diffstat (limited to 'src/x11/window/mod.rs')
-rw-r--r-- | src/x11/window/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index 8f30373..80338c7 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) }; |