aboutsummaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
AgeCommit message (Collapse)Author
2024-04-19Synchronize column removal anim on consume left/rightIvan Molodetskikh
Visible when consuming left/right when always-centered and differing horizontal view anim.
2024-04-16Remove jumps on consume/expel animation startIvan Molodetskikh
2024-04-16Start move animations from add/remove window/columnIvan Molodetskikh
2024-04-13Restore view offset upon unfullscreeningIvan Molodetskikh
2024-04-13Unify Animation- and RenderSnapshotIvan Molodetskikh
2024-04-13Implement window resize animationsIvan Molodetskikh
2024-04-10Reimplement window closing anim in an efficient wayIvan Molodetskikh
- Keep a root surface cache to be accessible in surface destroyed() - Only snapshot during / right before closing, rather than every frame - Store textures rather than elements to handle scale and alpha properly
2024-04-09Implement window closing animationsIvan Molodetskikh
2024-04-08Implement window open shift in terms of window-movementIvan Molodetskikh
This removes the quite unobvious visual size, and fixes jerking when opening multiple windows in quick succession.
2024-03-24Implement block-out-from window rule, fix alpha on window screenshotsIvan Molodetskikh
2024-03-24Implement opacity window ruleIvan Molodetskikh
2024-03-23Add is-active window rule matcherIvan Molodetskikh
2024-03-19Implement draw-border-with-background window ruleIvan Molodetskikh
2024-03-19Implement window rule reloading and min/max size rulesIvan Molodetskikh
2024-03-19Wrap mapped windows in a MappedIvan Molodetskikh
2024-03-19Remove remaining Window-specific functionsIvan Molodetskikh
2024-03-19Move PartialEq from LayoutElement to an associated typeIvan Molodetskikh
2024-03-19Workspace back and forth (#253)FluxTape
* implement workspace back and forth * Make our own ID counter instead of SerialCounter, use a newtype * Rename FocusWorkspaceBackAndForth to FocusWorkspacePrevious * Add focus-workspace-previous to tests * Don't special case in switch_workspace_previous * Minor clean up * Add switch_workspace_auto_back_and_forth to tests * Skip animation on switch_workspace_previous * Preserve previous_workspace_id on workspace movement * Make Workspace::id private with a getter Reduce the chance it gets overwritten. * Add test for workspace ID uniqueness * Update previous workspace ID upon moving workspace across monitors --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-03-12Fix spelling mistakeIvan Molodetskikh
2024-03-02Change horizontal gesture to focus furthest windowIvan Molodetskikh
2024-03-02Make vertical touchpad swipe inertialIvan Molodetskikh
Values and implementation are heavily inspired by AdwSwipeTracker.
2024-03-01Correctly handle parsing of Binds and DefaultColumnWidth (#234)sodiboo
* add dev dependencies to flake * parse only one default-column-width * require exactly one action per bind, and unique keys for binds * use proper filename for config errors if possible * fix duplicate keybinds after invalid action, lose some sanity
2024-02-29Move workspace gesture into monitor & fix missing workspace cleanupIvan Molodetskikh
2024-02-29Implement horizontal touchpad swipeIvan Molodetskikh
2024-02-28chore: update smithayChristian Meissl
2024-02-23Fix default width fixed not being honored with bordersIvan Molodetskikh
2024-02-23Fix unset default width causing a window resize right awayIvan Molodetskikh
2024-02-23Implement explicit unmapped window state trackingIvan Molodetskikh
2024-02-22Fix new warningsIvan Molodetskikh
2024-02-21Fix move_window_to_output losing window insteadIvan Molodetskikh
2024-02-21Use niri_render_elements! for the screenshot UIIvan Molodetskikh
2024-02-14Add the beginnings of window rulesIvan Molodetskikh
2024-02-12Fix border getting default values for focus ringIvan Molodetskikh
2024-02-12Move default_border() into FocusRingIvan Molodetskikh
2024-02-10Implement niri msg actionIvan 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-07Activate the new right_of window on its workspaceIvan Molodetskikh
This way when a dialog opens on a different workspace, the user will see it right away when they switch to that workspace.
2024-02-07Open dialogs to the right of their parent, don't steal focusIvan Molodetskikh
2024-02-06layout: Fix refresh in testsIvan Molodetskikh
Didn't affect anything but still.
2024-02-06Add Layout::with_options()Ivan Molodetskikh
2024-02-06Split render_helpers.rsIvan Molodetskikh
2024-02-05layout: Mark some things as pubIvan Molodetskikh
2024-02-05Add consume-or-expel-window-left/right commandsDennis Ranke
2024-02-05Convert everything to niri_render_elements! {}Ivan Molodetskikh
2024-02-04layout: Add LayoutElementRenderElementIvan Molodetskikh
Allows for testing layout rendering without Wayland windows.
2024-02-03Verify that pending fullscreen matches columnIvan Molodetskikh
2024-02-03Respect natural-scroll for workspace switch gestureIvan Molodetskikh
2024-02-03Place new workspace after current when movingIvan Molodetskikh
This feels more natural, also makes moving back and forth idempotent in most cases.