aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-01-21 09:40:00 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-01-21 11:31:30 +0300
commit3aad5a39eaf66e40abac5f8fdb720fdbe65eb754 (patch)
tree9e5f8c0c7cb5ed244da56be89d3bcc90fb1a8682 /src
parent7f025da5b6edb1d77e785ba6a6450ab10788ad8f (diff)
downloadniri-3aad5a39eaf66e40abac5f8fdb720fdbe65eb754.tar.gz
niri-3aad5a39eaf66e40abac5f8fdb720fdbe65eb754.tar.bz2
niri-3aad5a39eaf66e40abac5f8fdb720fdbe65eb754.zip
Fix two comments
Diffstat (limited to 'src')
-rw-r--r--src/layer/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layer/mod.rs b/src/layer/mod.rs
index 4d4d7819..72e804d5 100644
--- a/src/layer/mod.rs
+++ b/src/layer/mod.rs
@@ -8,9 +8,10 @@ pub use mapped::MappedLayer;
/// Rules fully resolved for a layer-shell surface.
#[derive(Debug, PartialEq)]
pub struct ResolvedLayerRules {
- /// Extra opacity to draw this window with.
+ /// Extra opacity to draw this layer surface with.
pub opacity: Option<f32>,
- /// Whether to block out this window from certain render targets.
+
+ /// Whether to block out this layer surface from certain render targets.
pub block_out_from: Option<BlockOutFrom>,
}