diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-12-29 22:56:15 +0100 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-12-30 08:20:50 +0100 |
commit | b9a6366f96e14e396452da443b64a10ee480fabf (patch) | |
tree | 0b23538cd302d3bd42c6784a74b0c8df882a74dc /src/x11/window | |
parent | 29bf3385add5ee9306452fe605984838ecfaa1a5 (diff) | |
download | glutin-b9a6366f96e14e396452da443b64a10ee480fabf.tar.gz glutin-b9a6366f96e14e396452da443b64a10ee480fabf.zip |
Update for changes in Send/Sync traits
Diffstat (limited to 'src/x11/window')
-rw-r--r-- | src/x11/window/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/x11/window/mod.rs b/src/x11/window/mod.rs index 422b5b6..0a8c3d5 100644 --- a/src/x11/window/mod.rs +++ b/src/x11/window/mod.rs @@ -34,6 +34,9 @@ struct XWindow { im: ffi::XIM, } +unsafe impl Send for Window {} +unsafe impl Sync for Window {} + impl Drop for XWindow { fn drop(&mut self) { unsafe { |