formatting fixes

This commit is contained in:
Victoria Brekenfeld 2023-12-20 20:51:04 +00:00 • committed by Victoria Brekenfeld
parent 0ac12ce202
commit f928f80f09
4 changed files with 144 additions and 143 deletions

View file

@ -365,6 +365,7 @@ impl WorkspaceSet {
state.remove_workspace_state(&self.workspaces[old_active].handle, WState::Urgent); state.remove_workspace_state(&self.workspaces[old_active].handle, WState::Urgent);
state.remove_workspace_state(&self.workspaces[idx].handle, WState::Urgent); state.remove_workspace_state(&self.workspaces[idx].handle, WState::Urgent);
state.add_workspace_state(&self.workspaces[idx].handle, WState::Active); state.add_workspace_state(&self.workspaces[idx].handle, WState::Active);
self.previously_active = Some((old_active, Instant::now())); self.previously_active = Some((old_active, Instant::now()));
self.active = idx; self.active = idx;
Ok(true) Ok(true)