input: Move windows between workspaces

This commit is contained in:
Victoria Brekenfeld 2022-03-30 22:11:29 +02:00
parent 5b2ea80c50
commit f7ac9654d1
6 changed files with 38 additions and 4 deletions

View file

@ -294,7 +294,14 @@ impl Common {
.add(&handle);
return FilterResult::Intercept(());
}
Action::MoveToWorkspace(num) => { /* TODO */ }
Action::MoveToWorkspace(num) => {
let current_output = active_output(seat, &self);
self.shell.move_current_window(
seat,
&current_output,
*num,
);
}
Action::Focus(focus) => match focus {
_ => { /* TODO */ }
},