shell: Lift next_focus to mix-and-match sticky and floating windows
This commit is contained in:
parent
a829978ce9
commit
35264ca4a6
3 changed files with 150 additions and 31 deletions
|
|
@ -1947,16 +1947,9 @@ impl State {
|
|||
}
|
||||
}
|
||||
Action::Focus(focus) => {
|
||||
let current_output = seat.active_output();
|
||||
let overview = self.common.shell.overview_mode().0;
|
||||
let workspace = self.common.shell.active_space_mut(¤t_output);
|
||||
let result = workspace.next_focus(
|
||||
let result = self.common.shell.next_focus(
|
||||
focus,
|
||||
seat,
|
||||
match overview {
|
||||
OverviewMode::Started(Trigger::KeyboardSwap(_, desc), _) => Some(desc),
|
||||
_ => None,
|
||||
},
|
||||
);
|
||||
|
||||
match result {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue