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

@ -284,9 +284,7 @@ pub fn render_workspace_to_buffer(
dt,
age,
additional_damage,
&*common.shell.read().unwrap(),
&common.config,
&common.theme,
&common.shell,
common.clock.now(),
&output,
None,
@ -312,9 +310,7 @@ pub fn render_workspace_to_buffer(
dt,
age,
additional_damage,
&*common.shell.read().unwrap(),
&common.config,
&common.theme,
&common.shell,
common.clock.now(),
&output,
None,