aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-08-18 07:39:17 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-08-18 07:39:17 +0200
commita4e2f82ba77d22116eaee5601fb6ee5c6356c143 (patch)
tree9198ddf9c329fff3b790b97a88f925b7ea0fd3d7
parent6ba15de7db4d5266db816be5e38e5d401a3da1ec (diff)
parent72fc0dc3a3def46dcbb64bc1be1e16455c1db8b4 (diff)
downloadglutin-a4e2f82ba77d22116eaee5601fb6ee5c6356c143.tar.gz
glutin-a4e2f82ba77d22116eaee5601fb6ee5c6356c143.zip
Merge pull request #572 from csherratt/master
Enable grave key on X11
-rw-r--r--src/api/x11/events.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/events.rs b/src/api/x11/events.rs
index bd289f7..408a3ec 100644
--- a/src/api/x11/events.rs
+++ b/src/api/x11/events.rs
@@ -236,7 +236,7 @@ pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> {
ffi::XK_bracketright => events::VirtualKeyCode::RBracket,
//ffi::XK_asciicircum => events::VirtualKeyCode::Asciicircum,
//ffi::XK_underscore => events::VirtualKeyCode::Underscore,
- //ffi::XK_grave => events::VirtualKeyCode::Grave,
+ ffi::XK_grave => events::VirtualKeyCode::Grave,
//ffi::XK_quoteleft => events::VirtualKeyCode::Quoteleft,
ffi::XK_a => events::VirtualKeyCode::A,
ffi::XK_b => events::VirtualKeyCode::B,