aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-08-28 11:33:58 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-08-28 11:33:58 +0200
commitb8b1b80631e1335a7ab747f34e1c67dfa0790a10 (patch)
tree8dfecd9ddc7e5bc0508dfc2bd240ade1ba98daa4
parent4605979c9e7e9ec92c2156fe1d04ca6a6846016a (diff)
parent5392ba0db02ef9d3c3e0045fc2679582eb7644ce (diff)
downloadglutin-b8b1b80631e1335a7ab747f34e1c67dfa0790a10.tar.gz
glutin-b8b1b80631e1335a7ab747f34e1c67dfa0790a10.zip
Merge pull request #586 from mceier/master
Correct event type
-rw-r--r--src/api/x11/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs
index 36b60e4..5bfbda9 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)); }
},