forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on f51dd67f2d4beaeb0bad697ec026685a8efc5ca8Filtered to src/layout/mod.rsClear filter

2024-04-16

2024-04-13

2024-04-10

Reimplement window closing anim in an efficient wayIvan Molodetskikh · 1888696
Reimplement window closing anim in an efficient way

- 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-09

2024-04-08

Implement window open shift in terms of window-movementIvan Molodetskikh · 4856522
Implement window open shift in terms of window-movement

This removes the quite unobvious visual size, and fixes jerking when
opening multiple windows in quick succession.

2024-03-24

2024-03-23

2024-03-19

Workspace back and forth (#253)FluxTape · Unverified23ac3d7
Workspace back and forth (#253)

* 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-11

Fix spelling mistakeIvan Molodetskikh · 5c0a1f4Browse files

2024-03-02

Make vertical touchpad swipe inertialIvan Molodetskikh · e0ec6e5
Make vertical touchpad swipe inertial

Values and implementation are heavily inspired by AdwSwipeTracker.

2024-03-01

Correctly handle parsing of Binds and DefaultColumnWidth (#234)sodiboo · Unverified24537ec
Correctly handle parsing of Binds and DefaultColumnWidth (#234)

* 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-29

2024-02-24

chore: update smithayChristian Meissl · 5ac350dBrowse files

2024-02-23

2024-02-22

Fix new warningsIvan Molodetskikh · af6485cBrowse files

2024-02-21

2024-02-13

2024-02-12

2024-02-10

Implement niri msg actionIvan Molodetskikh · 93e16a6Browse files

2024-02-07

animation: Accept ms as u32Ivan Molodetskikh · 753a904
animation: Accept ms as u32

Less boilerplate elsewhere.
Activate the new right_of window on its workspaceIvan Molodetskikh · 4b8e04d
Activate the new right_of window on its workspace

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-06

layout: Fix refresh in testsIvan Molodetskikh · e2b91c0
layout: Fix refresh in tests

Didn't affect anything but still.
Add Layout::with_options()Ivan Molodetskikh · 322b5cbBrowse files
Split render_helpers.rsIvan Molodetskikh · b2298dbBrowse files

2024-02-05

2024-02-03

2024-02-05

2024-02-04

layout: Add LayoutElementRenderElementIvan Molodetskikh · da826e4
layout: Add LayoutElementRenderElement

Allows for testing layout rendering without Wayland windows.

2024-02-03

Place new workspace after current when movingIvan Molodetskikh · 1f72089
Place new workspace after current when moving

This feels more natural, also makes moving back and forth idempotent in
most cases.

2023-12-02