From 39880b54e60de6f8f48c54fe82e76717746ade2e Mon Sep 17 00:00:00 2001 From: can1357 Date: Thu, 30 Jul 2026 17:36:31 +0200 Subject: [PATCH] fix(natives): backticked XWayland in desktop_x11 doc comments - clippy doc_markdown (-D warnings via clippy-strict) failed the bazel Rust validation job on the two bare XWayland mentions. - Verified locally: bazel build --config=clippy-strict on //crates/pi-natives passes. --- crates/pi-natives/src/desktop_x11.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/pi-natives/src/desktop_x11.rs b/crates/pi-natives/src/desktop_x11.rs index 174b20f7e..f76d3dd39 100644 --- a/crates/pi-natives/src/desktop_x11.rs +++ b/crates/pi-natives/src/desktop_x11.rs @@ -477,7 +477,7 @@ mod x11 { } /// Actionable message for a root capture that failed because the X11 root is - /// not a readable drawable — the signature of a rootless XWayland session + /// not a readable drawable — the signature of a rootless `XWayland` session /// (the GNOME/KDE/sway default), whose compositor keeps no X11 root pixmap. /// Pure Wayland capture (portal/PipeWire) is not implemented, so such a /// session has no usable capture path at all. @@ -489,7 +489,7 @@ mod x11 { /// Translate a failed root `GetImage` reply into a capture error. A /// `Match`/`Drawable` protocol error means the root has no backing pixmap - /// (rootless XWayland) and gets [`ROOTLESS_XWAYLAND_CAPTURE`]; every other + /// (rootless `XWayland`) and gets [`ROOTLESS_XWAYLAND_CAPTURE`]; every other /// failure is surfaced verbatim so genuine capture faults stay visible. fn root_capture_error(error: &ReplyError) -> X11Error { if let ReplyError::X11Error(x11) = error