mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
Implement place-within-backdrop layer rule
This commit is contained in:
@@ -15,6 +15,8 @@ pub struct LayerRule {
|
||||
pub shadow: ShadowRule,
|
||||
#[knuffel(child)]
|
||||
pub geometry_corner_radius: Option<CornerRadius>,
|
||||
#[knuffel(child, unwrap(argument))]
|
||||
pub place_within_backdrop: Option<bool>,
|
||||
}
|
||||
|
||||
#[derive(knuffel::Decode, Debug, Default, Clone, PartialEq)]
|
||||
|
||||
@@ -4888,6 +4888,7 @@ mod tests {
|
||||
inactive_color: None,
|
||||
},
|
||||
geometry_corner_radius: None,
|
||||
place_within_backdrop: None,
|
||||
},
|
||||
],
|
||||
binds: Binds(
|
||||
|
||||
Reference in New Issue
Block a user