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.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs
index d61d8a45..13079319 100644
--- a/src/layout/monitor.rs
+++ b/src/layout/monitor.rs
@@ -963,6 +963,7 @@ impl<W: LayoutElement> Monitor<W> {
&'a self,
renderer: &'a mut R,
target: RenderTarget,
+ focus_ring: bool,
) -> impl Iterator<Item = MonitorRenderElement<R>> + 'a {
let _span = tracy_client::span!("Monitor::render_elements");
@@ -989,7 +990,7 @@ impl<W: LayoutElement> Monitor<W> {
self.workspaces_with_render_positions()
.flat_map(move |(ws, offset)| {
- ws.render_elements(renderer, target)
+ ws.render_elements(renderer, target, focus_ring)
.filter_map(move |elem| {
CropRenderElement::from_element(elem, scale, crop_bounds)
})