feat(workspace): make retile put the widths of scrolling columns back

retile already forgot the resize adjustments of the layouts that are
made of splits, and the widths of the columns of the Scrolling layout
are the same kind of thing. The focused workspace of each monitor
gets its columns back to what scrolling-layout-columns gives, and the
focused column stays where it is unless it has to scroll.

The variant of retile that keeps resize dimensions keeps the widths.
This commit is contained in:
LGUG2Z committed 2026-10-29 16:38:53 -07:00
1 parent 65265c95f3
commit 2fb9dfdffa
5 files changed
+66 -1

No files matched your search

+3
View File
@@ -1004,6 +1004,9 @@ enum SubCommand {
/// Promote the window in the specified direction
PromoteWindow(PromoteWindow),
/// Force the retiling of all managed windows
///
/// Every column of a workspace in the Scrolling layout goes back to the width that
/// scrolling-layout-columns gives.
Retile,
// /// Set the monitor index preference for a monitor identified using its size
// #[clap(arg_required_else_help = true)]