diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index 36b60e42..5bfbda97 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -186,7 +186,7 @@ impl<'a> Iterator for PollEventsIterator<'a> { } match xev.get_type() { - ffi::KeymapNotify => { + ffi::MappingNotify => { unsafe { (xlib.XRefreshKeyboardMapping)(mem::transmute(&xev)); } },