mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-02-24 00:37:43 +11:00
Merge pull request #643 from mbrubeck/xlib-display
Fix typo in WindowExt::get_xlib_display
This commit is contained in:
commit
aaa9e508bd
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ impl WindowExt for Window {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn get_xlib_display(&self) -> Option<*mut libc::c_void> {
|
fn get_xlib_display(&self) -> Option<*mut libc::c_void> {
|
||||||
match self.window {
|
match self.window {
|
||||||
LinuxWindow::X(ref w) => Some(w.get_xlib_window()),
|
LinuxWindow::X(ref w) => Some(w.get_xlib_display()),
|
||||||
_ => None
|
_ => None
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue