Merge pull request #614 from tomaka/windowproxy-sync

Fix WindowProxy not being Send and Sync on win32
This commit is contained in:
tomaka 2015-09-24 08:37:29 +02:00
commit 7ab495b698

View file

@ -84,6 +84,9 @@ pub struct WindowProxy {
hwnd: winapi::HWND, hwnd: winapi::HWND,
} }
unsafe impl Send for WindowProxy {}
unsafe impl Sync for WindowProxy {}
impl WindowProxy { impl WindowProxy {
#[inline] #[inline]
pub fn wakeup_event_loop(&self) { pub fn wakeup_event_loop(&self) {