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