MCPcopy Create free account
hub / github.com/StrataWM/strata / strata_windows

Method strata_windows

src/workspaces.rs:102–104  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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);

Callers 1

refresh_geometryFunction · 0.80

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected