diff options
| author | srdusr <[email protected]> | 2024-08-03 20:07:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2024-08-03 20:07:00 +0200 |
| commit | 35a28a257644483495ac2bd6a5fb1e109e8c1f26 (patch) | |
| tree | 37944a7a2a61bf7ff977fa6349742d1a53ed5ad3 /crates/wayland/src/rounded_corners.rs | |
| parent | f166df4d979162ae09b439c87cdc64f2b0981308 (diff) | |
| download | srdwm-35a28a257644483495ac2bd6a5fb1e109e8c1f26.tar.gz srdwm-35a28a257644483495ac2bd6a5fb1e109e8c1f26.zip | |
Fix doc-comment file references left stale by today's six module splits
~17 comments across the codebase still pointed at udev.rs/winit.rs/
state.rs by their old flat-file names after those became udev/,
winit/, state/ directories - found while auditing what this work
rushed, since the split verification (function/struct-name diffing,
full test suite) checked structural correctness but never comment
accuracy. Updated each to either the specific new file (e.g. "see
state.rs's REPEAT_DELAY" -> "see state/mod.rs's REPEAT_DELAY",
"udev.rs's monitors()" -> "udev/platform.rs's monitors()") or the bare
module name where the reference was already generic ("the udev/winit
backends", not a specific location).
Diffstat (limited to 'crates/wayland/src/rounded_corners.rs')
| -rw-r--r-- | crates/wayland/src/rounded_corners.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/wayland/src/rounded_corners.rs b/crates/wayland/src/rounded_corners.rs index 90f9afb..25fc199 100644 --- a/crates/wayland/src/rounded_corners.rs +++ b/crates/wayland/src/rounded_corners.rs @@ -26,7 +26,7 @@ //! subsurface tree through a shape mask is real additional work belonging //! to a follow-up, not this pass. `elements::surface_content_elements` //! (plain, unrounded, subsurface-aware) stays the fallback - see this -//! module's own call site in `winit.rs`. +//! module's own call site in `winit/render.rs`. use smithay::backend::renderer::element::texture::TextureRenderElement; use smithay::backend::renderer::element::Kind; @@ -37,17 +37,17 @@ use smithay::backend::renderer::Renderer; use smithay::reexports::wayland_server::protocol::wl_surface::WlSurface; use smithay::utils::Point; -// `winit.rs`'s `custom_elements` element type. `crate::elements:: +// `winit/render.rs`'s `custom_elements` element type. `crate::elements:: // OverlayElement<GlesRenderer>` already covers everything the render loop // draws (cursor, decoration, borders, popups, plain content, layer-shell // surfaces) but can't also carry `TextureShaderElement`: that type only // implements `RenderElement<GlesRenderer>`, not the generic `RenderElement<R>` // every `OverlayElement<R>` variant needs (`OverlayElement<PixmanRenderer>`, -// used identically by `udev.rs`, would stop compiling the moment a +// used identically by `udev`, would stop compiling the moment a // GLES-only variant were added to the shared enum). Wrapping the whole // existing enum as one variant here, concrete to `GlesRenderer` from the // start (`<=GlesRenderer>`, not `<R>`), sidesteps that without touching -// the shared type at all - `udev.rs` never sees this module. +// the shared type at all - `udev` never sees this module. smithay::backend::renderer::element::render_elements! { pub(crate) WinitElement<=GlesRenderer>; Base=crate::elements::OverlayElement<GlesRenderer>, |