aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorColin Sherratt <colin.sherratt@gmail.com>2015-08-17 23:26:12 -0400
committerColin Sherratt <colin.sherratt@gmail.com>2015-08-17 23:28:34 -0400
commit72fc0dc3a3def46dcbb64bc1be1e16455c1db8b4 (patch)
tree9198ddf9c329fff3b790b97a88f925b7ea0fd3d7 /src/api
parent6ba15de7db4d5266db816be5e38e5d401a3da1ec (diff)
downloadglutin-72fc0dc3a3def46dcbb64bc1be1e16455c1db8b4.tar.gz
glutin-72fc0dc3a3def46dcbb64bc1be1e16455c1db8b4.zip
Enable grave key on X11
Diffstat (limited to 'src/api')
-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,