From e6db59fdde4b9921431e72bcdec4a2691c3b7a6d Mon Sep 17 00:00:00 2001 From: Carter Li Date: Thu, 5 Mar 2026 08:45:56 +0800 Subject: [PATCH] WM (Linux): fix niri version detection logic --- src/detection/wm/wm_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detection/wm/wm_linux.c b/src/detection/wm/wm_linux.c index 56d8926e8..2547c1f63 100644 --- a/src/detection/wm/wm_linux.c +++ b/src/detection/wm/wm_linux.c @@ -170,8 +170,8 @@ static const char* getNiri(FFstrbuf* result) NULL }) == NULL) { // niri 25.11 (b35bcae) - ffStrbufSubstrBeforeLastC(result, ' '); ffStrbufSubstrAfterFirstC(result, ' '); + ffStrbufSubstrBeforeLastC(result, ' '); return NULL; }