Merge pull request #586 from mceier/master

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

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)); }
},