aboutsummaryrefslogtreecommitdiff
path: root/src/layout/tile.rs
AgeCommit message (Collapse)Author
2024-03-05tile: Prepare for oscillating animationsIvan Molodetskikh
2024-02-21Implement gradient bordersIvan Molodetskikh
2024-02-21Accept location in FocusRingIvan Molodetskikh
Makes it work more like other elements.
2024-02-21Use niri_render_elements! for the screenshot UIIvan Molodetskikh
2024-02-12Fix border getting default values for focus ringIvan Molodetskikh
2024-02-07Make all animations configurableIvan Molodetskikh
2024-02-07animation: Accept ms as u32Ivan Molodetskikh
Less boilerplate elsewhere.
2024-02-07Implement window open animationsIvan Molodetskikh
2024-02-06Inline variableIvan Molodetskikh
2024-02-06Move focus ring into TileIvan Molodetskikh
For now, will make the open animation better.
2024-02-06Split render_helpers.rsIvan Molodetskikh
2024-02-05Convert everything to niri_render_elements! {}Ivan Molodetskikh
2024-02-05layout/tile: Return Iterator of render elementsIvan Molodetskikh
Avoid a Vec.
2024-02-04layout: Add TileRenderElementIvan Molodetskikh
2024-02-04layout: Add LayoutElementRenderElementIvan Molodetskikh
Allows for testing layout rendering without Wayland windows.
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).