Skip to content

libkmpris: check pid > 0 when matching kdepid

Fushan Wen requested to merge work/fuf/kdepid into master

When a player is not from Plasma Browser Integration, kdepid can be always 0, so we need to make sure pid > 0 when matching kdepid to find an associated player. This fixes unrelated launchers having player controls in their tooltips.

Ref: teams/automation/issues#9 (closed)

Edited by Fushan Wen

Merge request reports

Loading