Merge pull request #92 from Smithay/compositor_token_send
wayland.compositor: CompositorToken is threadsafe
This commit is contained in:
commit
664327660e
|
@ -248,6 +248,9 @@ impl<U, R> Clone for CompositorToken<U, R> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl<U, R> Send for CompositorToken<U, R> {}
|
||||||
|
unsafe impl<U, R> Sync for CompositorToken<U, R> {}
|
||||||
|
|
||||||
impl<U, R> CompositorToken<U, R> {
|
impl<U, R> CompositorToken<U, R> {
|
||||||
pub(crate) fn make() -> CompositorToken<U, R> {
|
pub(crate) fn make() -> CompositorToken<U, R> {
|
||||||
CompositorToken {
|
CompositorToken {
|
||||||
|
|
Loading…
Reference in New Issue