Skip to content

Commit be37289

Browse files
committed
Fix compilation on Linux.
1 parent 2253565 commit be37289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platform/unix.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ impl<T> EventLoopExtUnix for EventLoop<T> {
160160

161161
#[inline]
162162
fn get_wayland_display(&self) -> Option<*mut raw::c_void> {
163-
match self.events_loop {
164-
LinuxEventsLoop::Wayland(ref e) => Some(e.get_display().c_ptr() as *mut _),
163+
match self.event_loop {
164+
LinuxEventLoop::Wayland(ref e) => Some(e.get_display().get_display_ptr() as *mut _),
165165
_ => None
166166
}
167167
}

0 commit comments

Comments
 (0)