x11: Fix compiling; window is not a pointer

This commit is contained in:
Ian Douglas Scott 2022-12-21 18:22:51 -08:00 committed by Jeremy Soller
parent 300a4d819a
commit d95919c32e

View file

@ -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);
}