Skip to content

Commit

Permalink
Fix compilation on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
elinorbgr committed Apr 15, 2019
1 parent 2253565 commit be37289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ impl<T> EventLoopExtUnix for EventLoop<T> {

#[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
}
}
Expand Down

0 comments on commit be37289

Please sign in to comment.