aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
AgeCommit message (Collapse)Author
2024-01-08layout: Improve Options randomization in testsIvan Molodetskikh
2024-01-08Add center-focused-column settingThomas Versteeg
2024-01-07Move config into a separate crateIvan Molodetskikh
Get miette and knuffel deps contained within.
2024-01-06[cfg-breaking] Move layout settings into their own scopeIvan Molodetskikh
2023-12-29Add randomized border to proptestIvan Molodetskikh
2023-12-29Add test with i32::MAX max_sizeIvan Molodetskikh
2023-12-29Use saturating_sub in window_height_for_tile_height()Ivan Molodetskikh
2023-12-29Add move-column-to-{first,last}Ivan Molodetskikh
2023-12-29Add focus-column-{first,last}Ivan Molodetskikh
2023-12-28Activate windows only on active monitorsIvan Molodetskikh
This matches what we do in advance_animations().
2023-12-28Activate windows when clicking on the borderIvan Molodetskikh
2023-12-28Rename window -> tile, fix popup unconstraining window_yIvan Molodetskikh
I missed the window_y thing and found it thanks to the rename. Too lazy to split it into a commit.
2023-12-27layout: Refactor to support window decorations, add border and fullscreen ↵Ivan Molodetskikh
backdrop Windows are now wrapped in Tiles, which keep track of window-specific decorations. Particularly, I implemented a black fullscreen backdrop, which finally brings fullscreened windows smaller than the screen in line with how the Wayland protocol says they should look—centered in a black rectangle. I also implemented window borders, which are similar to the focus ring, but always visible (and hence affect the layout and sizing).
2023-12-26Make LayoutElement more visual-geometry-basedIvan Molodetskikh
2023-12-26layout: Add Column::positionIvan Molodetskikh
2023-12-25layout: Use column.contains moreIvan Molodetskikh
2023-12-24Remove dependency of LayoutElement on SpaceElementIvan Molodetskikh
2023-12-24Remove Clone bound from LayoutElementIvan Molodetskikh
It is no longer necessary.
2023-12-24Add and use remove_window_by_idxIvan Molodetskikh
2023-12-24Remove clones from active_windowIvan Molodetskikh
2023-12-24Move clones up from find_window_and_outputIvan Molodetskikh
2023-12-24Split layout mod into filesIvan Molodetskikh
No functional change intended.
2023-12-24Move output_size to utilsIvan Molodetskikh
2023-12-24Move layout.rs into its own moduleIvan Molodetskikh