remove X- from DE names
This commit is contained in:
1 parent
9c26f9d988
commit
bc870197d7
1 file changed
+3
@@ -246,6 +246,9 @@ static inline void getDE(FFWMDEResult* result, ProcData* procData)
|
||||
{
|
||||
ffStrbufSetS(&result->deProcessName, result->sessionDesktop);
|
||||
ffStrbufSet(&result->dePrettyName, &result->deProcessName);
|
||||
|
||||
if(ffStrbufStartsWithIgnCaseS(&result->dePrettyName, "X-"))
|
||||
ffStrbufSubstrAfter(&result->deProcessName, 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user