aboutsummaryrefslogtreecommitdiff
path: root/src/layout/tests/animations.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-09-20 12:57:42 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-10-02 09:33:08 +0300
commit4c524b47196badd281bc159bef3137cf16f963e5 (patch)
tree3284ab9c888e5883a525dbf04ad32818cc1c7f81 /src/layout/tests/animations.rs
parent1fa9dd32ed028c88248644a13421c098fef72894 (diff)
downloadniri-4c524b47196badd281bc159bef3137cf16f963e5.tar.gz
niri-4c524b47196badd281bc159bef3137cf16f963e5.tar.bz2
niri-4c524b47196badd281bc159bef3137cf16f963e5.zip
layout: Store Layout directly in Options
Diffstat (limited to 'src/layout/tests/animations.rs')
-rw-r--r--src/layout/tests/animations.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/layout/tests/animations.rs b/src/layout/tests/animations.rs
index 21be56f1..85df548c 100644
--- a/src/layout/tests/animations.rs
+++ b/src/layout/tests/animations.rs
@@ -29,7 +29,10 @@ fn make_options() -> Options {
});
let mut options = Options {
- gaps: 0.0,
+ layout: niri_config::Layout {
+ gaps: 0.0,
+ ..Default::default()
+ },
..Options::default()
};
options.animations.window_resize.anim.kind = LINEAR;