aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 81e1c16..cb2cc6a 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) {