Add ability to get wayland display from events loop. (#829)

Signed-off-by: Hal Gentz <zegentzy@protonmail.com>
This commit is contained in:
Hal Gentz
2019-04-07 23:07:47 -06:00
committed by Osspial
parent dfa972eab1
commit 8522071c2c
3 changed files with 20 additions and 0 deletions

View File

@@ -229,6 +229,10 @@ impl EventsLoop {
pub fn get_available_monitors(&self) -> VecDeque<MonitorId> {
get_available_monitors(&self.env.outputs)
}
pub fn get_display(&self) -> &Display {
&*self.display
}
}
/*