Fix GTK3 theme background refresh/saving

This commit is contained in:
2026-06-09 11:23:38 -06:00
parent 2d12da79b0
commit 5acb90025f
5 changed files with 85 additions and 13 deletions

View File

@@ -88,9 +88,15 @@ theme_application_apply_toplevel_theme (gboolean dark)
gboolean
theme_application_apply_mode (unsigned int mode, gboolean *palette_changed)
{
static gboolean runtime_loaded = FALSE;
gboolean dark;
theme_runtime_load ();
if (!runtime_loaded)
{
theme_runtime_load ();
runtime_loaded = TRUE;
}
dark = theme_runtime_apply_mode (mode, palette_changed);
theme_application_apply_toplevel_theme (dark);