From 86fa1b58e5a44a1711e812ed1e56c0e2c6946eed Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 24 Sep 2015 09:11:59 +0200 Subject: Rename MonitorID -> MonitorId --- src/api/x11/window.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/api/x11/window.rs') diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index 2da226f..50dd505 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -23,11 +23,11 @@ use api::glx::Context as GlxContext; use api::egl; use api::egl::Context as EglContext; -use platform::MonitorID as PlatformMonitorID; +use platform::MonitorId as PlatformMonitorId; use super::input::XInputEventHandler; use super::{ffi}; -use super::{MonitorID, XConnection}; +use super::{MonitorId, XConnection}; // XOpenIM doesn't seem to be thread-safe lazy_static! { // TODO: use a static mutex when that's possible, and put me back in my function @@ -305,7 +305,7 @@ impl Window { let dimensions = window_attrs.dimensions.unwrap_or((800, 600)); let screen_id = match window_attrs.monitor { - Some(PlatformMonitorID::X(MonitorID(_, monitor))) => monitor as i32, + Some(PlatformMonitorId::X(MonitorId(_, monitor))) => monitor as i32, _ => unsafe { (display.xlib.XDefaultScreen)(display.display) }, }; -- cgit v1.2.3