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 committed by Consolatis
parent 9550bccef2
commit d4ad27e636
18 changed files with 46 additions and 52 deletions

View file

@ -302,8 +302,6 @@ struct server {
/* Set when in cycle (alt-tab) mode */
struct cycle_state cycle;
struct theme *theme;
struct menu *menu_current;
struct wl_list menus;

View file

@ -213,12 +213,9 @@ struct theme {
int mag_border_width;
};
struct server;
/**
* theme_init - read openbox theme and generate button textures
* @theme: theme data
* @server: server
* @theme_name: theme-name in <theme-dir>/<theme-name>/labwc/themerc
* Note <theme-dir> is obtained in theme-dir.c
*/