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; }