aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/cocoa
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-07-19 13:53:40 +0200
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-07-19 13:53:40 +0200
commitbaf9b92d3f8a62c6a10d2ea1506e262597e70ac9 (patch)
tree91f8a1c9c3b4a255e6b2aacc6668733edecb1204 /src/api/cocoa
parent896640f2e0fd659e952e492c1b74841624db8d08 (diff)
downloadglutin-baf9b92d3f8a62c6a10d2ea1506e262597e70ac9.tar.gz
glutin-baf9b92d3f8a62c6a10d2ea1506e262597e70ac9.zip
Correct window creation on X11
Diffstat (limited to 'src/api/cocoa')
-rw-r--r--src/api/cocoa/monitor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/cocoa/monitor.rs b/src/api/cocoa/monitor.rs
index 40c7896..138bbcd 100644
--- a/src/api/cocoa/monitor.rs
+++ b/src/api/cocoa/monitor.rs
@@ -2,6 +2,7 @@ use core_graphics::display;
use std::collections::VecDeque;
use native_monitor::NativeMonitorId;
+#[derive(Clone)]
pub struct MonitorID(u32);
pub fn get_available_monitors() -> VecDeque<MonitorID> {