Merge pull request #586 from mceier/master

Correct event type
This commit is contained in:
tomaka
2015-08-28 11:33:58 +02:00

View File

@@ -186,7 +186,7 @@ impl<'a> Iterator for PollEventsIterator<'a> {
}
match xev.get_type() {
ffi::KeymapNotify => {
ffi::MappingNotify => {
unsafe { (xlib.XRefreshKeyboardMapping)(mem::transmute(&xev)); }
},