aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/x11/monitor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/x11/monitor.rs')
-rw-r--r--src/api/x11/monitor.rs1
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> {