From 72fbcf94ff45f7729447c18a9eadf806e54e3798 Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Sun, 23 May 2021 20:35:24 +0200 Subject: [PATCH] better Mutter detection --- src/common/detectWMDE.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/detectWMDE.c b/src/common/detectWMDE.c index bb6d85d51..594b3cfde 100644 --- a/src/common/detectWMDE.c +++ b/src/common/detectWMDE.c @@ -125,9 +125,9 @@ static bool applyPrettyNameIfWM(FFWMDEResult* result, const FFstrbuf* processNam ffStrbufSetS(&result->wmPrettyName, "Marco"); *protocolHint = FF_PROTOCOL_HINT_X11; } - else if(ffStrbufIgnCaseCompS(processName, "gnome-session-binary") == 0) + else if(ffStrbufIgnCaseCompS(processName, "gnome-session-binary") == 0 || ffStrbufIgnCaseCompS(processName, "Mutter") == 0) ffStrbufSetS(&result->wmPrettyName, "Mutter"); - else if(ffStrbufIgnCaseCompS(processName, "cinnamon-session") == 0) + else if(ffStrbufIgnCaseCompS(processName, "cinnamon-session") == 0 || ffStrbufIgnCaseCompS(processName, "Muffin") == 0) ffStrbufSetS(&result->wmPrettyName, "Muffin"); if(result->wmPrettyName.length > 0)