From 6de190944505db460d715cf3a9eb01e0d0cc3404 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Sun, 1 May 2016 16:06:33 +0200 Subject: [PATCH] Added missing InputCallback --- src/os/unix/mod.rs | 2 +- src/os/windows/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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;