diff options
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 34f64993..91e53c8c 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -3994,12 +3994,12 @@ impl<W: LayoutElement> Layout<W> { } } - pub fn render_floating_for_output<R: NiriRenderer>( - &self, + pub fn render_floating_for_output<'a, R: NiriRenderer + 'a>( + &'a self, renderer: &mut R, output: &Output, target: RenderTarget, - ) -> impl Iterator<Item = TileRenderElement<R>> { + ) -> impl Iterator<Item = TileRenderElement<R>> + 'a { if self.update_render_elements_time != self.clock.now() { error!("clock moved between updating render elements and rendering"); } |
