aboutsummaryrefslogtreecommitdiff
path: root/src/layout/tile.rs
AgeCommit message (Collapse)Author
2023-12-29Use saturating_sub in window_height_for_tile_height()Ivan Molodetskikh
2023-12-28layout: Use saturating_add() in several placesIvan Molodetskikh
Apparently VSCode sends i32::MAX worth of max_size?
2023-12-28Fix unfullscreening not always updating view offsetIvan Molodetskikh
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).