From 7ffed9e911d965f0d97872779d528af6a11dbd07 Mon Sep 17 00:00:00 2001 From: Diego Viola Date: Mon, 1 Jul 2024 05:00:35 -0300 Subject: [PATCH] DE: Fix spelling of LXQt (#1063) Signed-off-by: Diego Viola --- CHANGELOG.md | 2 +- src/detection/displayserver/displayserver.h | 2 +- src/detection/displayserver/linux/wmde.c | 2 +- src/detection/wmtheme/wmtheme_linux.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ecaabf6e..262bbfa38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1061,7 +1061,7 @@ Bugfixes: This release backports some changes from dev branch, and fixes 2 crashing issues Features: -* Support KDE / LXQT / MATE / Cinnamon wallpaper detection (Wallpaper, Linux) +* Support KDE / LXQt / MATE / Cinnamon wallpaper detection (Wallpaper, Linux) * Support QTerminal version & terminal font detection * Support MATE Terminal version & terminal font detection * Set `--pipe true` automatically if stdout is not a tty diff --git a/src/detection/displayserver/displayserver.h b/src/detection/displayserver/displayserver.h index dc223b79a..13c6452f6 100644 --- a/src/detection/displayserver/displayserver.h +++ b/src/detection/displayserver/displayserver.h @@ -9,7 +9,7 @@ #define FF_DE_PRETTY_CINNAMON "Cinnamon" #define FF_DE_PRETTY_MATE "Mate" #define FF_DE_PRETTY_LXDE "LXDE" -#define FF_DE_PRETTY_LXQT "LXQT" +#define FF_DE_PRETTY_LXQT "LXQt" #define FF_DE_PRETTY_BUDGIE "Budgie" #define FF_DE_PRETTY_CDE "CDE" #define FF_DE_PRETTY_UNITY "Unity" diff --git a/src/detection/displayserver/linux/wmde.c b/src/detection/displayserver/linux/wmde.c index 32a599e17..22531bb4d 100644 --- a/src/detection/displayserver/linux/wmde.c +++ b/src/detection/displayserver/linux/wmde.c @@ -207,7 +207,7 @@ static void applyPrettyNameIfDE(FFDisplayServerResult* result, const char* name) else if( ffStrEqualsIgnCase(name, "LXQt") || - ffStrEqualsIgnCase(name, "X-LXQT") || + ffStrEqualsIgnCase(name, "X-LXQt") || ffStrEqualsIgnCase(name, "lxqt-session") ) { ffStrbufSetS(&result->deProcessName, "lxqt-session"); diff --git a/src/detection/wmtheme/wmtheme_linux.c b/src/detection/wmtheme/wmtheme_linux.c index 7c382f32c..6b737a133 100644 --- a/src/detection/wmtheme/wmtheme_linux.c +++ b/src/detection/wmtheme/wmtheme_linux.c @@ -134,7 +134,7 @@ static bool detectOpenbox(const FFstrbuf* dePrettyName, FFstrbuf* themeOrError) { FF_STRBUF_AUTO_DESTROY absolutePath = ffStrbufCreateA(64); const char *configFileSubpath = "openbox/rc.xml"; - if (ffStrbufIgnCaseCompS(dePrettyName, "LXQT") == 0) + if (ffStrbufIgnCaseCompS(dePrettyName, "LXQt") == 0) configFileSubpath = "openbox/lxqt-rc.xml"; else if (ffStrbufIgnCaseCompS(dePrettyName, "LXDE") == 0) configFileSubpath = "openbox/lxde-rc.xml";