workspace: Add explicit toogle_floating_window_focused
`toggle_floating_window` -> `toggle_floating_window_focused` and added `toggle_floating_window` to deal with explicitly provided `CosmicMapped`.
This commit is contained in:
parent
1a399b0d04
commit
677f686afd
2 changed files with 20 additions and 12 deletions
|
|
@ -1832,7 +1832,7 @@ impl State {
|
|||
Action::ToggleWindowFloating => {
|
||||
let output = seat.active_output();
|
||||
let workspace = self.common.shell.active_space_mut(&output);
|
||||
workspace.toggle_floating_window(seat);
|
||||
workspace.toggle_floating_window_focused(seat);
|
||||
}
|
||||
Action::Spawn(command) => {
|
||||
let (token, data) = self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue