input: Implement focus switched on tiling layout
This commit is contained in:
parent
f7ac9654d1
commit
69c71179d4
7 changed files with 336 additions and 166 deletions
|
|
@ -302,9 +302,15 @@ impl Common {
|
|||
*num,
|
||||
);
|
||||
}
|
||||
Action::Focus(focus) => match focus {
|
||||
_ => { /* TODO */ }
|
||||
},
|
||||
Action::Focus(focus) => {
|
||||
let current_output = active_output(seat, &self);
|
||||
self.shell.move_focus(
|
||||
seat,
|
||||
¤t_output,
|
||||
*focus,
|
||||
self.seats.iter(),
|
||||
);
|
||||
}
|
||||
Action::Orientation(orientation) => {
|
||||
let output = active_output(seat, &self);
|
||||
self.shell.set_orientation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue