(&self)
| 100 | } |
| 101 | |
| 102 | pub fn strata_windows(&self) -> impl Iterator<Item = Ref<'_, StrataWindow>> { |
| 103 | self.windows.iter().map(|w| Ref::map(w.borrow(), |hw| hw)) |
| 104 | } |
| 105 | |
| 106 | pub fn add_window(&mut self, window: Rc<RefCell<StrataWindow>>) { |
| 107 | self.windows.retain(|w| w.borrow().smithay_window != window.borrow().smithay_window); |
no test coverage detected