Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StrataWM/strata
/ activate
Method
activate
src/workspaces.rs:298–300 ·
view source on GitHub ↗
(&mut self, id: u8)
Source
from the content-addressed store, hash-verified
296
}
297
298
pub fn activate(&mut self, id: u8) {
299
self.current = id;
300
}
301
302
pub fn move_window_to_workspace(&mut self, window: &Window, workspace: u8) {
303
let mut removed = None;
Callers
1
switch_to_workspace
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected