aboutsummaryrefslogtreecommitdiff
path: root/src/layout/floating.rs
AgeCommit message (Collapse)Author
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
2024-12-30layout/floating: Extract move_and_animate()Ivan Molodetskikh
2024-12-30floating: Implement center_window()Ivan Molodetskikh
2024-12-30floating: Implement directional focusIvan Molodetskikh
2024-12-30Extract center_preferring_top_left_in_area()Ivan Molodetskikh
2024-12-30layout/floating: Move a function higher upIvan Molodetskikh
Let's group action functions together. Activate is an action and set width/height too.
2024-12-30floating: Implement smarter clamping for window locationIvan Molodetskikh
A small part of the window always remains on-screen regardless of the working area changes. Interactive move lets the user position the window anywhere; automatic actions like toggle-window-floating and dialog opening try to put the window fully on-screen. The size-fraction canonical floating window position remains unclamped, and clamping happens when recomputing the logical position.
2024-12-30Implement floating child stacking above parentsIvan Molodetskikh
2024-12-30Honor min/max size in more places like initial configureIvan Molodetskikh
2024-12-30Initial WIP floating window implementationIvan Molodetskikh