aboutsummaryrefslogtreecommitdiff
path: root/src/layout/workspace.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/workspace.rs')
-rw-r--r--src/layout/workspace.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/workspace.rs b/src/layout/workspace.rs
index 3f5a07c5..588a6971 100644
--- a/src/layout/workspace.rs
+++ b/src/layout/workspace.rs
@@ -1600,11 +1600,11 @@ impl<W: LayoutElement> Workspace<W> {
}
}
- pub fn refresh(&mut self, is_active: bool) {
+ pub fn refresh(&mut self, is_active: bool, is_focused: bool) {
self.scrolling
- .refresh(is_active && !self.floating_is_active.get());
+ .refresh(is_active && !self.floating_is_active.get(), is_focused);
self.floating
- .refresh(is_active && self.floating_is_active.get());
+ .refresh(is_active && self.floating_is_active.get(), is_focused);
}
pub fn scroll_amount_to_activate(&self, window: &W::Id) -> f64 {