Skip to content

Commit d95919c

Browse files
ids1024jackpot51
authored andcommitted
x11: Fix compiling; window is not a pointer
1 parent 300a4d8 commit d95919c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/x11.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl X11Impl {
5656
return Err(SwBufError::IncompleteDisplayHandle);
5757
}
5858

59-
if window_handle.window.is_null() {
59+
if window_handle.window == 0 {
6060
return Err(SwBufError::IncompleteWindowHandle);
6161
}
6262

0 commit comments

Comments
 (0)