From d9d293667a7b5934ba923f578ffbfd2c12d121be Mon Sep 17 00:00:00 2001 From: Tomaka17 Date: Thu, 31 Jul 2014 10:52:05 +0200 Subject: Add monitor support for win32 --- src/x11/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/x11') diff --git a/src/x11/mod.rs b/src/x11/mod.rs index 9d08d4a..61488a1 100644 --- a/src/x11/mod.rs +++ b/src/x11/mod.rs @@ -24,6 +24,12 @@ pub fn get_primary_monitor() -> MonitorID { unimplemented!() } +impl MonitorID { + pub fn get_name(&self) -> Option { + Some("".to_string()) + } +} + impl Window { pub fn new(dimensions: Option<(uint, uint)>, title: &str, hints: &Hints, _: Option) -> Result -- cgit v1.2.3