aboutsummaryrefslogtreecommitdiff
path: root/src/layout/monitor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/monitor.rs')
-rw-r--r--src/layout/monitor.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs
index 6e8cb36d..9476acfb 100644
--- a/src/layout/monitor.rs
+++ b/src/layout/monitor.rs
@@ -544,7 +544,10 @@ impl<W: LayoutElement> Monitor<W> {
pub fn are_transitions_ongoing(&self) -> bool {
self.workspace_switch.is_some()
- || self.workspaces.iter().any(|ws| ws.are_animations_ongoing())
+ || self
+ .workspaces
+ .iter()
+ .any(|ws| ws.are_transitions_ongoing())
}
pub fn update_config(&mut self, options: Rc<Options>) {