aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/api/win32/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api/win32/mod.rs b/src/api/win32/mod.rs
index 0bc36a7..9d6b2da 100644
--- a/src/api/win32/mod.rs
+++ b/src/api/win32/mod.rs
@@ -84,6 +84,9 @@ pub struct WindowProxy {
hwnd: winapi::HWND,
}
+unsafe impl Send for WindowProxy {}
+unsafe impl Sync for WindowProxy {}
+
impl WindowProxy {
#[inline]
pub fn wakeup_event_loop(&self) {