aboutsummaryrefslogtreecommitdiffstats
path: root/src/os
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-10-23 08:24:26 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-10-23 08:24:26 +0200
commitaaa9e508bdf564c5a32c8bb96d21c8357841555b (patch)
tree55b06d531ad4a39a22106d926cc35dc26e68329f /src/os
parent6cefaa12be09c76bd0320a22a513e9bc99ea6337 (diff)
parent93bec2ffca1df81fdd0a5188f2453f018403e78c (diff)
downloadglutin-aaa9e508bdf564c5a32c8bb96d21c8357841555b.tar.gz
glutin-aaa9e508bdf564c5a32c8bb96d21c8357841555b.zip
Merge pull request #643 from mbrubeck/xlib-display
Fix typo in WindowExt::get_xlib_display
Diffstat (limited to 'src/os')
-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
}
}