mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-03-24 02:11:14 +01:00
fix(grid): prevents axis flips on grid layout
This commit is contained in:
@@ -1662,6 +1662,15 @@ impl WindowManager {
|
||||
|
||||
let workspace = self.focused_workspace_mut()?;
|
||||
|
||||
// don't flip on Grid layout
|
||||
match workspace.layout() {
|
||||
Layout::Default(layout) => match layout {
|
||||
DefaultLayout::Grid => return Ok(()),
|
||||
_ => (),
|
||||
},
|
||||
_ => (),
|
||||
}
|
||||
|
||||
#[allow(clippy::match_same_arms)]
|
||||
match workspace.layout_flip() {
|
||||
None => {
|
||||
|
||||
Reference in New Issue
Block a user