(&mut self, window: &Window)
| 292 | } |
| 293 | |
| 294 | pub fn workspace_from_window(&mut self, window: &Window) -> Option<&mut Workspace> { |
| 295 | self.workspaces.iter_mut().find(|w| w.contains_window(window)) |
| 296 | } |
| 297 | |
| 298 | pub fn activate(&mut self, id: u8) { |
| 299 | self.current = id; |
no test coverage detected