(&mut self)
| 393 | } |
| 394 | |
| 395 | pub fn close_window(&mut self) { |
| 396 | let ptr = self.seat.get_pointer().unwrap(); |
| 397 | if let Some((window, _)) = self.workspaces.current().window_under(ptr.current_location()) { |
| 398 | window.toplevel().send_close() |
| 399 | } |
| 400 | } |
| 401 | |
| 402 | pub fn switch_to_workspace(&mut self, id: u8) { |
| 403 | self.workspaces.activate(id); |
nothing calls this directly
no test coverage detected