Fix incorred Awakened import in windows backend

This commit is contained in:
mitchmindtree 2017-05-31 15:52:15 +10:00
parent 647a1727d0
commit 8f0ef514b1

View file

@ -410,8 +410,7 @@ pub unsafe extern "system" fn callback(window: winapi::HWND, msg: winapi::UINT,
}, },
x if x == *super::WAKEUP_MSG_ID => { x if x == *super::WAKEUP_MSG_ID => {
use events::WindowEvent::Awakened; send_event(window, ::Event::Awakened);
send_event(window, Awakened);
0 0
}, },