Skip to content
Commit badb98b5 authored by Fushan Wen's avatar Fushan Wen
Browse files

libkmpris: check pid > 0 when matching kdepid

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.
parent bfcc8b7f
Pipeline #484858 passed with stage
in 8 minutes and 55 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment