aboutsummaryrefslogtreecommitdiff
path: root/src/layout/workspace.rs
AgeCommit message (Collapse)Author
2025-01-21tile: Rename update() to update_render_elements()Ivan Molodetskikh
2025-01-09Add a window swap operation (#899)rustn00b
Swap the active window with the a neighboring column's active window. --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> Take into account PR comments - no longer behave like an expel when a swap is made in a direction where there is no column to swap with - fix janky animation
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2024-12-30Add default-floating-position relative-to propertyIvan Molodetskikh
2024-12-30Add toggle-window-width by-id actionIvan Molodetskikh
2024-12-30Implement default-window-height for scrolling windowsIvan 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-30floating: Remove initial offset when always-centeringIvan Molodetskikh
2024-12-30layout: Add animate arg to move_floating_window()Ivan Molodetskikh
2024-12-30Add move-floating-window actionIvan Molodetskikh
2024-12-30Add focus-floating/tiling actionsIvan Molodetskikh
2024-12-30Add move-window-to-floating/tiling actionsIvan Molodetskikh
2024-12-30Add set-window-width actionIvan 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: Use new helper functionIvan Molodetskikh
2024-12-30layout: Implement next-to + open-fullscreenIvan Molodetskikh
2024-12-30layout: Refactor window opening targetsIvan Molodetskikh
2024-12-30floating: Comment on toggle-full-width statusIvan Molodetskikh
2024-12-30layout: Pass and store view_size on a TileIvan 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-30Render fullscreen scrolling windows on top of floatingIvan Molodetskikh
2024-12-30layout: Support fullscreen for auto-floating windowsIvan Molodetskikh
2024-12-30layout: Remember whether to unfullscreen back into floatingIvan Molodetskikh
2024-12-30layout: Move toggle_fullscreen() impl to WorkspaceIvan Molodetskikh
2024-12-30floating: Implement directional moveIvan Molodetskikh
2024-12-30floating: Implement center_window()Ivan Molodetskikh
2024-12-30floating: Implement directional focusIvan Molodetskikh
2024-12-30layout: Implement focus_right_or_first() genericallyIvan Molodetskikh
2024-12-30Stub out actions when floating is activeIvan Molodetskikh
Make sure they don't go to the unfocused scrolling layout at least.
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-30Always honor min height in new window sizeIvan Molodetskikh
2024-12-30Honor min/max size in more places like initial configureIvan Molodetskikh
2024-12-30Initial WIP floating window implementationIvan Molodetskikh
2024-12-08layout: Return bool from activate_window()Ivan Molodetskikh
Avoid an extra has_window() call.
2024-12-01layout: Extract ScrollingSpaceIvan Molodetskikh
Leave the Workspace to do the workspace parts, and extract the scrolling parts into a new file. This is a pre-requisite for things like the floating layer (which will live in a workspace alongside the scrolling layer). As part of this huge refactor, I found and fixed at least these issues: - Wrong horizontal popup unconstraining for a smaller window in an always-centered column. - Wrong workspace switch in focus_up_or_right().
2024-12-01layout: Correct variable namesIvan Molodetskikh
2024-12-01layout: Use tiles_mut() in Workspace::clear_unmap_snapshot()Ivan Molodetskikh
2024-12-01layout: Extract Workspace::tiles()Ivan Molodetskikh
2024-11-29Implement empty-workspace-above-first (#745)FluxTape
* Implement empty-workspace-above-first option * add two failing tests * fix interactive_move_onto_empty_output_ewaf and interactive_move_onto_first_empty_workspace tests * Add two failing ewaf option toggle tests * Fix adding/removing first empty workspace on option toggle * Don't remove first empty workspace if focused * Stop workspace switch when enabling ewaf * layout/monitor: Offset workspace switch on adding workspace above * Fix some initial active workspace ids with ewaf * wiki: Document empty-workspace-above-first --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-11-25Refactor animation timing to use lazy clocksIvan Molodetskikh
2024-11-25Refactor animations to take explicit current timeIvan Molodetskikh
2024-11-11Change expel-window-from-column to expel the bottom windowIvan Molodetskikh
This way, expel becomes symmetric with consume. This is also how it works in PaperWM. Though, in PaperWM if the expelled window was focused, it will remain focused, while in this commit it is never focused, making it the exact opposite of consume. Use consume-or-expel-window-right for the old expel behavior.
2024-11-02Follow window corner radius in insert hintIvan Molodetskikh
2024-11-02Add gradient support for the insert hintIvan Molodetskikh
Implement it via FocusRing which already handles SolidColor vs. Border render element.