focus: Don't swap focus from maximized tiled windows
This commit is contained in:
parent
f9d39144ed
commit
7660f7aaa9
1 changed files with 4 additions and 0 deletions
|
|
@ -2689,6 +2689,10 @@ impl Shell {
|
|||
}
|
||||
|
||||
if workspace.is_tiled(&focused) {
|
||||
if focused.is_maximized(false) {
|
||||
return FocusResult::None;
|
||||
}
|
||||
|
||||
let focus_stack = workspace.focus_stack.get(seat);
|
||||
let swap_desc = match overview.active_trigger() {
|
||||
Some(Trigger::KeyboardSwap(_, desc)) => Some(desc.clone()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue