tiling: Allow windows to be moved

This commit is contained in:
Victoria Brekenfeld 2022-10-27 16:11:54 +02:00
parent 0c47631d9b
commit 644d53c2da
5 changed files with 369 additions and 15 deletions

View file

@ -362,6 +362,16 @@ impl State {
Common::set_focus(self, Some(&target), seat, None);
}
}
Action::Move(direction) => {
let current_output = seat.active_output();
let workspace =
self.common.shell.active_space_mut(&current_output);
if let Some(_move_further) =
workspace.tiling_layer.move_current_window(direction, seat)
{
// TODO moving across workspaces/displays
}
}
Action::Fullscreen => {
let current_output = seat.active_output();
let workspace =