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

@ -64,9 +64,7 @@ impl WinitState {
surface.clone(),
&mut self.damage_tracker,
age,
&*state.shell.read().unwrap(),
&state.config,
&state.theme,
&state.shell,
state.clock.now(),
&self.output,
CursorMode::NotDefault,