tree-wide: use rc.theme instead of server.theme

Having two global pointers to the same struct is redundant.
This commit is contained in:
John Lindgren 2026-03-21 22:47:22 -04:00
parent a2e0de7676
commit e202784a6c
18 changed files with 46 additions and 52 deletions

View file

@ -26,7 +26,7 @@ static void
update_preview_outlines(struct view *view)
{
/* Create / Update preview outline tree */
struct theme *theme = server.theme;
struct theme *theme = rc.theme;
struct lab_scene_rect *rect = server.cycle.preview_outline;
if (!rect) {
struct lab_scene_rect_options opts = {