mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-05-28 06:29:13 +02:00
fix(grid): enables flip_layout and make it behave correctly
This commit is contained in:
@@ -1658,11 +1658,6 @@ impl WindowManager {
|
||||
pub fn flip_layout(&mut self, layout_flip: Axis) -> Result<()> {
|
||||
let workspace = self.focused_workspace_mut()?;
|
||||
|
||||
if matches!(workspace.layout(), Layout::Default(DefaultLayout::Grid)) {
|
||||
tracing::debug!("ignoring flip layout command for grid layout");
|
||||
return Ok(())
|
||||
}
|
||||
|
||||
tracing::info!("flipping layout");
|
||||
|
||||
#[allow(clippy::match_same_arms)]
|
||||
|
||||
Reference in New Issue
Block a user