shell: implement minimize

This commit is contained in:
Victoria Brekenfeld 2024-02-23 17:25:40 +01:00 committed by Victoria Brekenfeld
parent fffae1491d
commit 3eb7e5f82e
20 changed files with 1185 additions and 307 deletions

View file

@ -2031,7 +2031,7 @@ impl State {
let focus_stack = workspace.focus_stack.get(seat);
let focused_window = focus_stack.last().cloned();
if let Some(window) = focused_window {
self.common.shell.maximize_toggle(&window);
self.common.shell.maximize_toggle(&window, seat);
}
}
Action::Resizing(direction) => self.common.shell.set_resize_mode(