diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-18 17:42:11 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-18 17:43:58 +0300 |
| commit | 818248457210f5101459ea7d7066d12c456c8a97 (patch) | |
| tree | 942ad497f54a0b59b55938ed1a9b95acb405275b /src/layout/mod.rs | |
| parent | 0584dd2f1e82417bdabcc0d8cb20fddc2e8cc5e7 (diff) | |
| download | niri-818248457210f5101459ea7d7066d12c456c8a97.tar.gz niri-818248457210f5101459ea7d7066d12c456c8a97.tar.bz2 niri-818248457210f5101459ea7d7066d12c456c8a97.zip | |
Remove Vec from Shadow::render()
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"); } |
