We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfaa73a commit 87446e6Copy full SHA for 87446e6
src/detection/displayserver/linux/wmde.c
@@ -300,10 +300,10 @@ static const char* getFromProcesses(FFDisplayServerResult* result)
300
for (int i = 0; i < count; ++i)
301
{
302
if(result->dePrettyName.length == 0)
303
- applyPrettyNameIfDE(result, proc->p_comm);
+ applyPrettyNameIfDE(result, proc[i].p_comm);
304
305
if(result->wmPrettyName.length == 0)
306
- applyNameIfWM(result, proc->p_comm);
+ applyNameIfWM(result, proc[i].p_comm);
307
308
if(result->dePrettyName.length > 0 && result->wmPrettyName.length > 0)
309
break;
0 commit comments