This fixes screen recording when pipewire is started after kwin. In my specific case, I use an autostart script. Reviewed-on: #1 Co-authored-by: Tsaop <leeroy@cock.li> Co-committed-by: Tsaop <leeroy@cock.li>