aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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
}
}