Wallpaper (Linux): support KDE

This commit is contained in:
李通洲
2023-06-11 12:16:54 +08:00
parent 977da91aa6
commit f65a3d1e75
5 changed files with 28 additions and 8 deletions
+2 -2
View File
@@ -22,9 +22,9 @@ next:
if(n->ut_type != USER_PROCESS)
continue;
for(uint32_t i = 0; i < users->length; ++i)
FF_LIST_FOR_EACH(FFstrbuf, user, *users)
{
if(ffStrbufCompS((FFstrbuf*)ffListGet(users, i), n->ut_user) == 0)
if(ffStrbufCompS(user, n->ut_user) == 0)
goto next;
}