diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-08-28 11:33:58 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-08-28 11:33:58 +0200 |
commit | b8b1b80631e1335a7ab747f34e1c67dfa0790a10 (patch) | |
tree | 8dfecd9ddc7e5bc0508dfc2bd240ade1ba98daa4 /src/api | |
parent | 4605979c9e7e9ec92c2156fe1d04ca6a6846016a (diff) | |
parent | 5392ba0db02ef9d3c3e0045fc2679582eb7644ce (diff) | |
download | glutin-b8b1b80631e1335a7ab747f34e1c67dfa0790a10.tar.gz glutin-b8b1b80631e1335a7ab747f34e1c67dfa0790a10.zip |
Merge pull request #586 from mceier/master
Correct event type
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/x11/window.rs | 2 |
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)); } }, |