From baf9b92d3f8a62c6a10d2ea1506e262597e70ac9 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sun, 19 Jul 2015 13:53:40 +0200 Subject: Correct window creation on X11 --- src/api/win32/monitor.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/api/win32') 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], -- cgit v1.2.3