aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/win32
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/win32
parent896640f2e0fd659e952e492c1b74841624db8d08 (diff)
downloadglutin-baf9b92d3f8a62c6a10d2ea1506e262597e70ac9.tar.gz
glutin-baf9b92d3f8a62c6a10d2ea1506e262597e70ac9.zip
Correct window creation on X11
Diffstat (limited to 'src/api/win32')
-rw-r--r--src/api/win32/monitor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/win32/monitor.rs b/src/api/win32/monitor.rs
index 4b592cb..d87c928 100644
--- a/src/api/win32/monitor.rs
+++ b/src/api/win32/monitor.rs
@@ -7,6 +7,7 @@ use std::mem;
use native_monitor::NativeMonitorId;
/// Win32 implementation of the main `MonitorID` object.
+#[derive(Clone)]
pub struct MonitorID {
/// The system name of the adapter.
adapter_name: [winapi::WCHAR; 32],