Skip to content

Commit 888b06e

Browse files
committed
fix: use parent_handle instead of handle for Linux Xlib logging
RawWindowHandle does not implement LowerHex trait, causing build failure on Linux.
1 parent 0c2e834 commit 888b06e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wrywebview/src/main/rust/handle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ pub fn raw_window_handle_from(parent_handle: u64) -> Result<RawWindowHandle, Web
8484
// if log_enabled() {
8585
// eprintln!("[wrywebview] raw_window_handle Xlib=0x{:x}", parent_handle);
8686
// }
87-
wry_log!("[wrywebview] raw_window_handle Xlib=0x{:x}", handle);
87+
wry_log!("[wrywebview] raw_window_handle Xlib=0x{:x}", parent_handle);
8888
return Ok(handle);
8989
}
9090

0 commit comments

Comments
 (0)