diff options
Diffstat (limited to 'niri-config')
| -rw-r--r-- | niri-config/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index ca7d3807..51693a94 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -349,6 +349,8 @@ pub struct Tablet { #[derive(knuffel::Decode, Debug, Default, PartialEq)] pub struct Touch { + #[knuffel(child)] + pub off: bool, #[knuffel(child, unwrap(argument))] pub map_to_output: Option<String>, } @@ -3900,6 +3902,7 @@ mod tests { left_handed: false, }, touch: Touch { + off: false, map_to_output: Some( "eDP-1", ), |
