srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/wayland/src/decoration/shadow.rs
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2026-08-30 20:41:00 +0200
committersrdusr <[email protected]>2026-08-30 20:41:00 +0200
commitf2f9ed1b3f9c49b323ce591eb72a406058d324a4 (patch)
tree12a53c9c527c0a63a4d93ed197af3f9edf2fca79 /crates/wayland/src/decoration/shadow.rs
parentbac91a6162542025676f57afc3e514b88aa65366 (diff)
downloadsrdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.tar.gz
srdwm-f2f9ed1b3f9c49b323ce591eb72a406058d324a4.zip
Indent doc list continuations
Diffstat (limited to 'crates/wayland/src/decoration/shadow.rs')
-rw-r--r--crates/wayland/src/decoration/shadow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/wayland/src/decoration/shadow.rs b/crates/wayland/src/decoration/shadow.rs
index 7c89ae0..9b7f89f 100644
--- a/crates/wayland/src/decoration/shadow.rs
+++ b/crates/wayland/src/decoration/shadow.rs
@@ -229,7 +229,7 @@ pub(super) fn rounded_edge_distance(dx: u32, dy: u32, radius: u32) -> u32 {
/// How far outside `[margin, margin + extent)` - the window's own span
/// along one axis, inside the shadow's `margin`-pixel border on each side
/// - position `pos` sits, in pixels. `0` anywhere inside that span
-/// (including exactly on its edge).
+/// (including exactly on its edge).
fn edge_distance(pos: u32, margin: u32, extent: u32) -> u32 {
if pos < margin {
margin - pos