workspace-management: Implement move_to_workspace request
Needed for `cosmic-workspaces`.
This commit is contained in:
parent
75990ff056
commit
656996503c
6 changed files with 92 additions and 43 deletions
|
|
@ -65,7 +65,7 @@ fn move_prev_workspace(state: &mut State, mapped: &CosmicMapped) {
|
|||
if let Some(prev_handle) = maybe_handle {
|
||||
Shell::move_window(
|
||||
state,
|
||||
&seat,
|
||||
Some(&seat),
|
||||
mapped,
|
||||
¤t_handle,
|
||||
&prev_handle,
|
||||
|
|
@ -93,7 +93,7 @@ fn move_next_workspace(state: &mut State, mapped: &CosmicMapped) {
|
|||
if let Some(next_handle) = maybe_handle {
|
||||
Shell::move_window(
|
||||
state,
|
||||
&seat,
|
||||
Some(&seat),
|
||||
mapped,
|
||||
¤t_handle,
|
||||
&next_handle,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue