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

Method all_windows

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

Source from the content-addressed store, hash-verified

288 }
289
290 pub fn all_windows(&self) -> impl Iterator<Item = Ref<'_, Window>> {
291 self.workspaces.iter().flat_map(|w| w.windows())
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))

Callers 4

toplevel_destroyedMethod · 0.80
handle_commitFunction · 0.80
commitMethod · 0.80
focus_changedMethod · 0.80

Calls 2

iterMethod · 0.80
windowsMethod · 0.80

Tested by

no test coverage detected