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

Method contains_window

src/workspaces.rs:255–257  ·  view source on GitHub ↗
(&self, window: &Window)

Source from the content-addressed store, hash-verified

253 }
254
255 pub fn contains_window(&self, window: &Window) -> bool {
256 self.windows.iter().any(|w| &w.borrow().smithay_window == window)
257 }
258}
259
260impl Default for Workspace {

Callers 1

workspace_from_windowMethod · 0.80

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected