desktop: Send remove event only if output and app_id is set