shell: Fix animation getting stuck

This commit is contained in:
Victoria Brekenfeld 2023-05-23 19:21:25 +02:00
parent 7b3ac7fa77
commit cb3e8d42a7

View file

@ -1073,7 +1073,7 @@ impl Shell {
WorkspaceMode::OutputBound(sets, _) => { WorkspaceMode::OutputBound(sets, _) => {
sets.values().any(|set| set.previously_active.is_some()) sets.values().any(|set| set.previously_active.is_some())
} }
}) || matches!(self.overview_mode, OverviewMode::None) }) || !matches!(self.overview_mode, OverviewMode::None)
|| self || self
.workspaces .workspaces
.spaces() .spaces()