diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2015-10-22 13:59:52 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2015-10-22 13:59:52 -0700 |
commit | 93bec2ffca1df81fdd0a5188f2453f018403e78c (patch) | |
tree | 55b06d531ad4a39a22106d926cc35dc26e68329f | |
parent | 6cefaa12be09c76bd0320a22a513e9bc99ea6337 (diff) | |
download | glutin-93bec2ffca1df81fdd0a5188f2453f018403e78c.tar.gz glutin-93bec2ffca1df81fdd0a5188f2453f018403e78c.zip |
Fix typo in WindowExt::get_xlib_display
-rw-r--r-- | src/os/unix.rs | 2 |
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 } } |