From 8f0ef514b13d38398c5ecfd9ff0e4ab65ed43941 Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Wed, 31 May 2017 15:52:15 +1000 Subject: [PATCH] Fix incorred Awakened import in windows backend --- src/platform/windows/callback.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/platform/windows/callback.rs b/src/platform/windows/callback.rs index 864cf9c9..015ecec9 100644 --- a/src/platform/windows/callback.rs +++ b/src/platform/windows/callback.rs @@ -410,8 +410,7 @@ pub unsafe extern "system" fn callback(window: winapi::HWND, msg: winapi::UINT, }, x if x == *super::WAKEUP_MSG_ID => { - use events::WindowEvent::Awakened; - send_event(window, Awakened); + send_event(window, ::Event::Awakened); 0 },