aboutsummaryrefslogtreecommitdiffstats
path: root/src/win32
diff options
context:
space:
mode:
authorRyan Stewart <ryan@binsoftware.com>2015-03-18 14:16:35 -0700
committerRyan Stewart <ryan@binsoftware.com>2015-03-18 14:16:35 -0700
commit1b2fd6e6d01788922a90cd4e58adf371007f50a8 (patch)
tree5266e1e7a4c1141faeb71a51e01047daa32e712a /src/win32
parent779f3ce888e0009bdbd14bc28a1e475b46df83ee (diff)
downloadglutin-1b2fd6e6d01788922a90cd4e58adf371007f50a8.tar.gz
glutin-1b2fd6e6d01788922a90cd4e58adf371007f50a8.zip
fix headless build by ensuring NativeMonitorId enum is available internally even without the window feature; add Eq/PartialEq to NativeMonitorId
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/monitor.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/win32/monitor.rs b/src/win32/monitor.rs
index 5fbd5dd..819aa7f 100644
--- a/src/win32/monitor.rs
+++ b/src/win32/monitor.rs
@@ -3,7 +3,7 @@ use user32;
use std::collections::VecDeque;
-use NativeMonitorID;
+use native_monitor::NativeMonitorId;
/// Win32 implementation of the main `MonitorID` object.
pub struct MonitorID {
@@ -116,8 +116,8 @@ impl MonitorID {
}
/// See the docs of the crate root file.
- pub fn get_native_identifier(&self) -> NativeMonitorID {
- NativeMonitorID::Name(self.readable_name.clone())
+ pub fn get_native_identifier(&self) -> NativeMonitorId {
+ NativeMonitorId::Name(self.readable_name.clone())
}
/// See the docs if the crate root file.