input: Add unbound shortcut to toggle sticky state

This commit is contained in:
Victoria Brekenfeld 2023-12-20 20:21:04 +00:00 committed by Victoria Brekenfeld
parent d2e394b957
commit c50607afd5
3 changed files with 18 additions and 0 deletions

View file

@ -2134,6 +2134,10 @@ impl State {
let workspace = self.common.shell.active_space_mut(&output);
workspace.toggle_floating_window_focused(seat);
}
Action::ToggleSticky => {
let seats = self.common.seats().cloned().collect::<Vec<_>>();
self.common.shell.toggle_sticky_current(seats.iter(), seat);
}
Action::Spawn(command) => {
let (token, data) = self
.common