1
0
Fork 0
forked from wry/wry

container: autotile uses major axis as first split

This commit is contained in:
atagen 2026-06-08 19:20:46 +10:00
parent dc62d2240f
commit c1b2c7f17c
8 changed files with 83 additions and 11 deletions

View file

@ -438,9 +438,9 @@ pub fn get_corner_radius() -> f32 {
/// Enables or disables autotiling.
///
/// When enabled, newly tiled windows alternate split orientation from the
/// focused tiled window: the first split uses the containing group's direction,
/// then subsequent splits wrap the focused window in the perpendicular
/// direction.
/// focused tiled window by splitting the focused tile along its largest axis.
/// On an empty workspace, the first split uses the workspace output's largest
/// axis.
///
/// The default is `false`.
pub fn set_autotile(enabled: bool) {