tiling: Allow orientation of active container to be swapped
This commit is contained in:
parent
2c311c67d1
commit
b3ff2a7ca3
9 changed files with 105 additions and 18 deletions
|
|
@ -283,6 +283,15 @@ impl Common {
|
|||
Action::Focus(focus) => match focus {
|
||||
_ => { /* TODO */ }
|
||||
},
|
||||
Action::Orientation(orientation) => {
|
||||
let output = active_output(seat, &self);
|
||||
self.shell.set_orientation(
|
||||
&seat,
|
||||
&output,
|
||||
*orientation,
|
||||
);
|
||||
return FilterResult::Intercept(());
|
||||
}
|
||||
Action::Spawn(command) => {
|
||||
if let Err(err) =
|
||||
std::process::Command::new("/bin/sh")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue