From 137b3f7010f15d3905d1bb1d95d2c012e214cb78 Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Mon, 24 May 2021 10:46:55 +0200 Subject: [PATCH] mutter wm theme fix --- src/modules/wmtheme.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/wmtheme.c b/src/modules/wmtheme.c index e4266f442..820a9db3a 100644 --- a/src/modules/wmtheme.c +++ b/src/modules/wmtheme.c @@ -94,10 +94,6 @@ static void printGTKThemeAsWMTheme(FFinstance* instance) static void printMutter(FFinstance* instance) { const char* theme = ffSettingsGet(instance, "/org/gnome/shell/extensions/user-theme/name", "org.gnome.shell.extensions.user-theme", NULL, "name", FF_VARIANT_TYPE_STRING).strValue; - - if(theme == NULL || *theme == '\0') - theme = ffSettingsGet(instance, "/org/gnome/desktop/wm/preferences/theme", "org.gnome.desktop.wm.preferences", NULL, "theme", FF_VARIANT_TYPE_STRING).strValue; - if(theme != NULL && *theme != '\0') { printWMTheme(instance, theme);