aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-10-22 13:59:52 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-10-22 13:59:52 -0700
commit93bec2ffca1df81fdd0a5188f2453f018403e78c (patch)
tree55b06d531ad4a39a22106d926cc35dc26e68329f /src
parent6cefaa12be09c76bd0320a22a513e9bc99ea6337 (diff)
downloadglutin-93bec2ffca1df81fdd0a5188f2453f018403e78c.tar.gz
glutin-93bec2ffca1df81fdd0a5188f2453f018403e78c.zip
Fix typo in WindowExt::get_xlib_display
Diffstat (limited to 'src')
-rw-r--r--src/os/unix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix.rs b/src/os/unix.rs
index 4fef6ef..d206351 100644
--- a/src/os/unix.rs
+++ b/src/os/unix.rs
@@ -33,7 +33,7 @@ impl WindowExt for Window {
#[inline]
fn get_xlib_display(&self) -> Option<*mut libc::c_void> {
match self.window {
- LinuxWindow::X(ref w) => Some(w.get_xlib_window()),
+ LinuxWindow::X(ref w) => Some(w.get_xlib_display()),
_ => None
}
}