fix: preserve default outer gaps

This commit is contained in:
Samuel Onoja committed 2026-09-25 02:43:53 +01:00
1 parent ed529ae900
commit 94a83c83bb
7 files changed
+119 -14

No files matched your search

+4 -1
View File
@@ -1025,7 +1025,10 @@ mod tests {
)
.unwrap();
assert_eq!(first.geometry[&WindowId(1)].width, 1_000.0);
assert_eq!(
first.geometry[&WindowId(1)],
Rect::new(10.0, 10.0, 980.0, 780.0)
);
workspaces.switch_to_numeric(2).unwrap();
assert_eq!(workspaces.active().layout.mode(), LayoutMode::Scrolling);
}