To keep in sync with the relevant libtaskmanager change: plasma-workspace!2825 (merged)
CCBUG: 419225