mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-03 05:34:32 +01:00
feat(scrolling): lay out the Scrolling layout with the scrolling model
The workspace keeps a ScrollingSpace of komorebi-scrolling, keyed by the id of each container, in place of recomputing equal columns from the last layout. A column can hold several windows. New commands and messages: consume, expel, toggle-column-stack, scrolling-layout-full-width, center-focus, expand and pan. Focus, move, resize, retile and closing a window go through the strip, and a drag of an edge keeps it with the rest of what the drag started from. A window that is out of view rests at the edge it left by, with 5 pixels of it on the screen and its size unchanged, and is hidden where another monitor is next to that edge. A window that will not get as narrow as its column widens the column, at the first layout after the windows have had 400 ms to draw. center_focused_column is Never, Always or OnOverflow, and still reads a boolean.
This commit is contained in:
1 parent
3f51b3a0ca
commit
db976212b1
14 files changed
+2053
-82
No files matched your search
@@ -70,7 +70,9 @@ pub use komorebi::core::MonocleFocusBehaviour;
|
||||
pub use komorebi::core::MoveBehaviour;
|
||||
pub use komorebi::core::OperationBehaviour;
|
||||
pub use komorebi::core::OperationDirection;
|
||||
pub use komorebi::core::PanDirection;
|
||||
pub use komorebi::core::Rect;
|
||||
pub use komorebi::core::ScrollingCentering;
|
||||
pub use komorebi::core::Sizing;
|
||||
pub use komorebi::core::SocketMessage;
|
||||
pub use komorebi::core::StateQuery;
|
||||
|
||||
Reference in new issue
Block a user