diff --git a/src/os/unix/mod.rs b/src/os/unix/mod.rs index 30903d5..79ff795 100644 --- a/src/os/unix/mod.rs +++ b/src/os/unix/mod.rs @@ -6,7 +6,7 @@ extern crate x11_dl; -use {MouseMode, MouseButton, Scale, Key, KeyRepeat, WindowOptions}; +use {MouseMode, MouseButton, Scale, Key, KeyRepeat, WindowOptions, InputCallback}; use key_handler::KeyHandler; use menu::Menu; use self::x11_dl::keysym::*; diff --git a/src/os/windows/mod.rs b/src/os/windows/mod.rs index 7669a69..397eac7 100644 --- a/src/os/windows/mod.rs +++ b/src/os/windows/mod.rs @@ -8,8 +8,7 @@ extern crate time; const INVALID_ACCEL: usize = 0xffffffff; -use {Scale, Key, KeyRepeat, MouseButton, MouseMode, WindowOptions}; - +use {Scale, Key, KeyRepeat, MouseButton, MouseMode, WindowOptions, InputCallback}; use key_handler::KeyHandler; use menu::Menu; use error::Error;