diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-04-22 08:10:53 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-04-22 08:10:53 +0200 |
commit | efd2f6cec0711f5efede30df1485aff816db2aac (patch) | |
tree | 5d149cfd9c94ce232ccaa1dad80456f4afda7132 | |
parent | f81a430c6daa75368234fd40e75990020738a117 (diff) | |
parent | bc2472f32b3e184ad370a3d7f321d0177507849b (diff) | |
download | glutin-efd2f6cec0711f5efede30df1485aff816db2aac.tar.gz glutin-efd2f6cec0711f5efede30df1485aff816db2aac.zip |
Merge pull request #385 from gfxmonk/fix-rbracket
Fix x11 XK_bracketright keycode
-rw-r--r-- | src/x11/window/events.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/window/events.rs b/src/x11/window/events.rs index cd91dbd..0a8c95f 100644 --- a/src/x11/window/events.rs +++ b/src/x11/window/events.rs @@ -233,7 +233,7 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> { ffi::XK_Z => events::VirtualKeyCode::Z, ffi::XK_bracketleft => events::VirtualKeyCode::LBracket, ffi::XK_backslash => events::VirtualKeyCode::Backslash, - ffi::XK_bracketright => events::VirtualKeyCode::LBracket, + ffi::XK_bracketright => events::VirtualKeyCode::RBracket, //ffi::XK_asciicircum => events::VirtualKeyCode::Asciicircum, //ffi::XK_underscore => events::VirtualKeyCode::Underscore, //ffi::XK_grave => events::VirtualKeyCode::Grave, |