Correct window creation on X11

This commit is contained in:
Pierre Krieger 2015-07-19 13:53:40 +02:00
parent 896640f2e0
commit baf9b92d3f
8 changed files with 297 additions and 213 deletions

View file

@ -4,6 +4,7 @@ use std::sync::Arc;
use super::XConnection;
use native_monitor::NativeMonitorId;
#[derive(Clone)]
pub struct MonitorID(pub Arc<XConnection>, pub u32);
pub fn get_available_monitors(x: &Arc<XConnection>) -> VecDeque<MonitorID> {