chore: Move some rendering-related state into the shell

This commit is contained in:
Victoria Brekenfeld 2024-06-07 19:51:47 +02:00 committed by Victoria Brekenfeld
parent cd90371c1e
commit cf0b0f9d2d
6 changed files with 45 additions and 43 deletions

View file

@ -219,9 +219,7 @@ impl Surface {
buffer.clone(),
&mut self.damage_tracker,
age as usize,
&*state.shell.read().unwrap(),
&state.config,
&state.theme,
&state.shell,
state.clock.now(),
&self.output,
render::CursorMode::NotDefault,