formatting fixes
This commit is contained in:
parent
0ac12ce202
commit
f928f80f09
4 changed files with 144 additions and 143 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue