mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-14 09:02:45 +02:00
fix(wm): disallow focusing other windows when there is a maximized_window
This commit is contained in:
@@ -1548,7 +1548,8 @@ impl WindowManager {
|
|||||||
|
|
||||||
tracing::info!("focusing container");
|
tracing::info!("focusing container");
|
||||||
|
|
||||||
let new_idx = if workspace.monocle_container().is_some() {
|
let new_idx =
|
||||||
|
if workspace.maximized_window().is_some() || workspace.monocle_container().is_some() {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
workspace.new_idx_for_direction(direction)
|
workspace.new_idx_for_direction(direction)
|
||||||
|
|||||||
Reference in New Issue
Block a user