aboutsummaryrefslogtreecommitdiff
path: root/src/layout/tests.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-02Partially implement config includesIvan Molodetskikh
Subsequent commits will add merging for all leftover sections.
2025-10-02Add per-output layout configIvan Molodetskikh
2025-10-02Add per-workspace layout configIvan Molodetskikh
Per-workspace background-color doesn't work yet.
2025-10-02layout: Deduplicate move_workspace_to_output()Ivan Molodetskikh
2025-10-02layout/tests: Make UpdateConfig an actual OpIvan Molodetskikh
We can do it now that it's non-Copy. This also fixes a new stack overflow when running the random test in debug mode (which somehow occurs even though it's skipped in debug mode) that appeared after adding LayoutPart for some unbeknownst to me reason.
2025-10-02layout/tests: Generate LayoutPart instead of Layout configIvan Molodetskikh
Necessary for future changes, also produces much shorter failing output due to not having to include all the options.
2025-10-02layout: Store Layout directly in OptionsIvan Molodetskikh
2025-10-02config: Split Layout from LayoutPartIvan Molodetskikh
2025-10-02layout/tests: Make Op non-CopyIvan Molodetskikh
2025-09-17layout/tests: Extract fullscreen tests to submoduleIvan Molodetskikh
2025-09-16layout: End DnD gesture when toggling interactive move to floatingIvan Molodetskikh
Effective behavior mostly unchanged (it would end on refresh()), but this was failing the invariant checks.
2025-09-16layout: Fix crash when a window opens next-to an only interactively moved ↵Ivan Molodetskikh
window with no outputs
2025-09-15layout/tests: Mark operations_dont_panic as slowIvan Molodetskikh
It's by far the slowest test (disabling it cuts cargo test time by 2x), and it hadn't caught much in the past months.
2025-08-29Add cycle back feature for presets of column/window width/height.Said Kadrioski
2025-08-27config: Move workspace into its own moduleIvan Molodetskikh
2025-08-27Fix focus=false for move-column-to-workspace*, add to ↵gibberish
move-window-to-workspace-up/down
2025-08-14layout/tests: Add column resize animation testsIvan Molodetskikh
2025-08-14layout/tests: Add CompleteAnimations opIvan Molodetskikh
2025-08-14layout/tests: Support forced test window sizeIvan Molodetskikh
2025-08-14layout/tests: Support animation snapshotIvan Molodetskikh
Only the size is needed in these tests; needed for testing animation progress.
2025-08-14layout/tests: Extract check_ops_on_layout()Ivan Molodetskikh
2025-08-14layout: Remove by-ref animation_snapshot() getterIvan Molodetskikh
It was used in only one place, and that place was due for an update to use the cached data.
2025-08-11Bump Smithay (xkbcommon wvkbd fix)Ivan Molodetskikh
2025-06-13layout/scrolling: Take unfullscreen view offset unconditionallyIvan Molodetskikh
It might get set and unset all while the view is frozen with a gesture.
2025-05-12Add center-visible-columns actionIvan Molodetskikh
2025-05-10add window urgency through xdg-activation-v1Duncan Overbruck
urgency is done through activation requests without a serial from a previous interaction. https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/150
2025-05-01Implement --focus for MoveColumnToWorkspace/Up/DownAberter Yan
2025-04-30layout: Fix DnD scroll not stopping when interactive moving unfullscreen to ↵Ivan Molodetskikh
floating
2025-04-25Implement an OverviewIvan Molodetskikh
2025-04-25Pass target workspace to view offset grabIvan Molodetskikh
2025-04-25Remove cancellation from swipe gesturesIvan Molodetskikh
It only worked for workspace switch, and even there it was more confusing than helpful.
2025-03-31layout: Reset unfullscreen view offset when starting interactive resizeIvan Molodetskikh
2025-03-29Make move-window-to-workspace focus=false work across monitors tooIvan Molodetskikh
2025-03-29Add focus argument to move-window-to-workspace (#1332)nyx
* layout: add focus flag to move-window-to-workspace * lib: update comment * misc: minor dup refactor * input: format code * layout: minor nit * layout: update comment * input: remove unnecessary conditionals * misc: replace boolean * tests: fix the failing one * layout: change to smart * ipc: Option<bool> -> bool * lib: format code * Rewrite focus doc comment --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-22layout: Reset unfullscreen view offset when removing windowIvan Molodetskikh
Another old bug found by randomized tests after I expanded the testing mock window.
2025-03-17Implement toggle-windowed-fullscreenIvan Molodetskikh
Windowed, or fake, or detached, fullscreen, is when a window thinks that it's fullscreen, but the compositor treats it as a normal window.
2025-03-17layout/tests: Implement going into fullscreen stateIvan Molodetskikh
2025-03-17Refactor request_fullscreen() to be an argument on request_size()Ivan Molodetskikh
2025-03-14Add move-column-to-index actionDuncan Overbruck
2025-03-14Add focus-column (by index) actionDuncan Overbruck
2025-03-10Keep track of RenderElementStates in offscreensIvan Molodetskikh
This both avoids sending frame callbacks to surfaces invisible on the offscreen (fixing Firefox with subsurface compositing in the process), and fixes searching for split popups during the resize animation.
2025-02-17Implement expand-column-to-available-widthIvan Molodetskikh
2025-02-15Implement scrolling the view during DnDIvan Molodetskikh
DnD is external to the layout, so we just inform it when one is ongoing.
2025-02-10tab indicator: Implement place-within-column settingIvan Molodetskikh
2025-02-10tab indicator: Add position settingIvan Molodetskikh
2025-02-10tab indicator: Add hide-when-single-tabIvan Molodetskikh
2025-02-10Implement tab indicatorsIvan Molodetskikh
2025-02-10Add set-column-display actionIvan Molodetskikh