diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-07-19 13:53:40 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2015-07-19 13:53:40 +0200 |
commit | baf9b92d3f8a62c6a10d2ea1506e262597e70ac9 (patch) | |
tree | 91f8a1c9c3b4a255e6b2aacc6668733edecb1204 /src/api/x11/monitor.rs | |
parent | 896640f2e0fd659e952e492c1b74841624db8d08 (diff) | |
download | glutin-baf9b92d3f8a62c6a10d2ea1506e262597e70ac9.tar.gz glutin-baf9b92d3f8a62c6a10d2ea1506e262597e70ac9.zip |
Correct window creation on X11
Diffstat (limited to 'src/api/x11/monitor.rs')
-rw-r--r-- | src/api/x11/monitor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/x11/monitor.rs b/src/api/x11/monitor.rs index d556930..90b12c2 100644 --- a/src/api/x11/monitor.rs +++ b/src/api/x11/monitor.rs @@ -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> { |