From 2ffa4837f5c44f6b9badc0693dd203949d9d9a80 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 28 Jul 2026 17:23:57 -0700 Subject: [PATCH] Fix broken links in docs --- src/activation.rs | 8 ++++---- src/shell/mod.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/activation.rs b/src/activation.rs index c0e37e1146..d6b78eb1c3 100644 --- a/src/activation.rs +++ b/src/activation.rs @@ -11,9 +11,9 @@ use crate::{ globals::{GlobalData, ProvidesBoundGlobal}, }; -/// Minimal implementation of [`RequestDataExt`]. +/// User data for activation request object. /// -/// Use a custom type implementing [`RequestDataExt`] to store more data with a token request +/// Use a custom type in the `udata` field to store more data with a token request /// e.g. to identify which request produced which token. #[derive(Debug, Clone)] pub struct RequestData { @@ -68,8 +68,8 @@ impl ActivationState { /// Request a token for surface activation. /// - /// To attach custom data to the request implement [`RequestDataExt`] on a custom type - /// and use [`Self::request_token_with_data`] instead. + /// To attach custom data to the request provide a custom time as the `udata` field of + /// [`RequestData`]. pub fn request_token(&self, qh: &QueueHandle, request_data: RequestData) where D: ActivationHandler, diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 01a2d07a09..41a63cd175 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -40,7 +40,7 @@ //! [`Window`]: self::xdg::window::Window //! [`Popup`]: self::xdg::popup::Popup //! -//! [`Layer`]: self::layer::LayerSurface +//! [`Layer`]: self::wlr_layer::LayerSurface use wayland_client::{ protocol::{wl_buffer, wl_output, wl_region, wl_surface},