WM (Linux): fix niri version detection logic

This commit is contained in:
Carter Li
2026-03-05 08:45:56 +08:00
parent 7ea0bbfb21
commit e6db59fdde
+1 -1
View File
@@ -170,8 +170,8 @@ static const char* getNiri(FFstrbuf* result)
NULL
}) == NULL)
{ // niri 25.11 (b35bcae)
ffStrbufSubstrBeforeLastC(result, ' ');
ffStrbufSubstrAfterFirstC(result, ' ');
ffStrbufSubstrBeforeLastC(result, ' ');
return NULL;
}