From aca2b5336dc1db49f71957332fea387ea3c75548 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Fri, 18 Jul 2025 17:59:38 +0800 Subject: [PATCH] WM (Linux): fix a copy-paste error --- src/detection/wm/wm_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detection/wm/wm_linux.c b/src/detection/wm/wm_linux.c index dc9fd3728..9b9956840 100644 --- a/src/detection/wm/wm_linux.c +++ b/src/detection/wm/wm_linux.c @@ -243,7 +243,7 @@ static const char* getOpenbox(FFstrbuf* result) if (ffProcessAppendStdOut(result, (char* const[]){ path.chars, - "-version", + "--version", NULL }) == NULL) { // Openbox 3.6.1\n... @@ -252,7 +252,7 @@ static const char* getOpenbox(FFstrbuf* result) return NULL; } - return "Failed to run command `fvwm -version`"; + return "Failed to run command `openbox --version`"; } const char* ffDetectWMVersion(const FFstrbuf* wmName, FFstrbuf* result, FF_MAYBE_UNUSED FFWMOptions* options)