diff options
Diffstat (limited to 'src/x11/events.rs')
-rw-r--r-- | src/x11/events.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/events.rs b/src/x11/events.rs index 78d310c..d5b559a 100644 --- a/src/x11/events.rs +++ b/src/x11/events.rs @@ -1,8 +1,8 @@ use {events, libc}; use super::ffi; -use Element; +use VirtualKeyCode; -pub fn keycode_to_element(scancode: libc::c_uint) -> Option<Element> { +pub fn keycode_to_element(scancode: libc::c_uint) -> Option<VirtualKeyCode> { Some(match scancode { //ffi::XK_BackSpace => events::Backspace, ffi::XK_Tab => events::Tab, |