x11: Fix compiling; window is not a pointer
This commit is contained in:
parent
300a4d819a
commit
d95919c32e
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ impl X11Impl {
|
|||
return Err(SwBufError::IncompleteDisplayHandle);
|
||||
}
|
||||
|
||||
if window_handle.window.is_null() {
|
||||
if window_handle.window == 0 {
|
||||
return Err(SwBufError::IncompleteWindowHandle);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue