Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
260
impl Default for Workspace {
Callers
1
workspace_from_window
Method · 0.80
Calls
1
iter
Method · 0.80
Tested by
no test coverage detected