mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-12 16:12:44 +02: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()?;
|
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)]
|
#[allow(clippy::match_same_arms)]
|
||||||
match workspace.layout_flip() {
|
match workspace.layout_flip() {
|
||||||
None => {
|
None => {
|
||||||
|
|||||||
Reference in New Issue
Block a user