Move available_monitors and primary_monitor to EventLoopWindowTarget (#1616)

This commit is contained in:
Xavier L'Heureux
2020-07-04 15:46:41 -04:00
committed by GitHub
parent dd866a74a6
commit 3d5d05eac7
14 changed files with 121 additions and 110 deletions

View File

@@ -27,14 +27,6 @@ impl<T> EventLoop<T> {
}
}
pub fn available_monitors(&self) -> VecDequeIter<monitor::Handle> {
VecDeque::new().into_iter()
}
pub fn primary_monitor(&self) -> monitor::Handle {
monitor::Handle
}
pub fn run<F>(self, mut event_handler: F) -> !
where
F: 'static