From be372898ddc60e47887c9a152c10ff498445f8cf Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Mon, 15 Apr 2019 17:35:59 +0200 Subject: [PATCH] Fix compilation on Linux. --- src/platform/unix.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/unix.rs b/src/platform/unix.rs index 79a78d848..e68b0e760 100644 --- a/src/platform/unix.rs +++ b/src/platform/unix.rs @@ -160,8 +160,8 @@ impl EventLoopExtUnix for EventLoop { #[inline] fn get_wayland_display(&self) -> Option<*mut raw::c_void> { - match self.events_loop { - LinuxEventsLoop::Wayland(ref e) => Some(e.get_display().c_ptr() as *mut _), + match self.event_loop { + LinuxEventLoop::Wayland(ref e) => Some(e.get_display().get_display_ptr() as *mut _), _ => None } }