aboutsummaryrefslogtreecommitdiff
path: root/src/layout/floating.rs
AgeCommit message (Collapse)Author
2025-10-18feat(move-floating-window): percentage change (#2371)Mykyta Onipchenko
* feat: add percentage change to move-floating-window * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-10-15Implement maximize-to-edges (true Wayland maximize)Ivan Molodetskikh
2025-10-02layout: Store Layout directly in OptionsIvan Molodetskikh
2025-10-02config: Split Layout from LayoutPartIvan Molodetskikh
2025-10-02config: Replace resolve_against with MergeWithIvan Molodetskikh
2025-08-29layout/floating: Fix resetting preset width idx instead of heightIvan Molodetskikh
2025-08-29Add cycle back feature for presets of column/window width/height.Said Kadrioski
2025-08-16niri-ipc: Add window positions and sizes (#1265)yrkv
* Add window sizes and positions to the IPC * basic fixes * report window_loc instead of window pos * clean ups * make scrolling indices 1-based * add printing to niri msg windows * don't include render offset in floating tile pos --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-06-11Add deactivate-unfocused-windows debug flag (#1706)sashomasho
* force xdg deactivation on invisable workspaces This debug option provides a workaround for many Chromium-based chat applications that fail to show notifications when they're active in a workspace that's not currently visible and don't have keyboard focus Signed-off-by: Alex Yosifov <sashomasho@gmail.com> * fixes --------- Signed-off-by: Alex Yosifov <sashomasho@gmail.com> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-04-17layout: Don't pass scale to render unnecessarilyIvan Molodetskikh
These parts of the layout already know their scale.
2025-03-29screenshot: make selection area modifiable via move/resize keybinds (#1279)nyx
* screenshot: make selection area modifiable via keybinds * input: run fmt * Reimplement screenshot UI binds in a better way --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-01Added top, left, bottom and right floating windows alignement (#1169)Martino Ferrari
* feat: added top, left, bottom, right alignement options * feat: implemented extra alignement * feat: added example * doc: updated documentation with extra alignements * doc: moved example in wiki and typo correction * fix: relative position should be positive and not negative * fixes --------- Co-authored-by: Martino Ferrari <martinogiordano.ferrari@iter.org> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-02-15Hook up are_transitions_ongoing() for floating and tilesIvan Molodetskikh
Don't spoil it
2025-02-10tab indicator: Animate openingIvan Molodetskikh
2025-02-07layout: Rename toplevel_bounds() to new_window_toplevel_bounds()Ivan Molodetskikh
2025-02-05Add focus-window-top/bottom/down-or-top/up-or-bottom actionsIvan Molodetskikh
2025-01-31Take border into account for fixed preset-column-width for tiled windowsIvan Molodetskikh
2025-01-31Extract SizeChange::from(PresetSize)Ivan Molodetskikh
2025-01-23Add toggle-window-rule-opacity actionIvan Molodetskikh
2025-01-21tile: Rename update() to update_render_elements()Ivan Molodetskikh
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2024-12-30Fix width shrinking when going from floating to scrollingIvan Molodetskikh
2024-12-30Add default-floating-position relative-to propertyIvan Molodetskikh
2024-12-30Add center-window by-id actionIvan Molodetskikh
2024-12-30Hide focus ring for unfocused layout and under interactive moveIvan Molodetskikh
2024-12-30Add default-floating-position window ruleIvan Molodetskikh
2024-12-30layout: Add animate arg to move_floating_window()Ivan Molodetskikh
2024-12-30Add move-floating-window actionIvan Molodetskikh
2024-12-30floating: Cancel resize when moving or changing sizeIvan Molodetskikh
2024-12-30Implement is-floating window rule matcherIvan Molodetskikh
2024-12-30Implement default-window-height window ruleIvan Molodetskikh
Only works for floats that aren't initially fullscreen atm.
2024-12-30floating: Support default-column-width in most casesIvan Molodetskikh
open-fullscreen + open-floating default width is still not supported in this commit.
2024-12-30layout: Refactor window opening targetsIvan Molodetskikh
2024-12-30floating: Fix window position constraining with non-zero working area locIvan Molodetskikh
2024-12-30floating: Constrain popups to working areaIvan Molodetskikh
2024-12-30floating: Remove TODO on tile removing widthIvan Molodetskikh
2024-12-30layout: Pass and store view_size on a TileIvan Molodetskikh
2024-12-30floating: Take into account non-fixed min/max size window ruleIvan Molodetskikh
2024-12-30floating: Implement the rest of set-window-width/heightIvan Molodetskikh
2024-12-30floating: Implement toggle-width/height actionsIvan Molodetskikh
2024-12-30floating: Change from getters to pub(super)Ivan Molodetskikh
These fields are just data storage. They won't have any logic in getters/setters.
2024-12-30Remember floating window positionIvan Molodetskikh
2024-12-30floating: Don't use fullscreen size as floating sizeIvan Molodetskikh
2024-12-30floating: Update stored size only on removalIvan Molodetskikh
2024-12-30floating: Improve expected size requests to avoid (0, 0) and duplicatesIvan Molodetskikh
2024-12-30layout: Preserve the Tile when moving across workspacesIvan Molodetskikh
2024-12-30floating: Remember and restore window sizeIvan Molodetskikh
2024-12-30floating: Request size only onceIvan Molodetskikh
Let floating windows resize themselves and keep that size.
2024-12-30layout: Rename update_interactive_resize() to on_commit()Ivan Molodetskikh
2024-12-30floating: Implement directional moveIvan Molodetskikh