Impl Clone for EventsLoopProxy (#331)

This commit is contained in:
Chris Tolliday 2017-10-25 11:03:57 -07:00 committed by Victor Berger
parent 58181dbff9
commit 159364bec3
10 changed files with 10 additions and 0 deletions

View file

@ -43,6 +43,7 @@ pub struct EventsLoop {
wakeup_dummy_window: ffi::Window,
}
#[derive(Clone)]
pub struct EventsLoopProxy {
pending_wakeup: Weak<AtomicBool>,
display: Weak<XConnection>,