tiling: Allow windows to be moved
This commit is contained in:
parent
0c47631d9b
commit
644d53c2da
5 changed files with 369 additions and 15 deletions
|
|
@ -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(¤t_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 =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue