Xdg activation for other applications was fixed in 14d99bac but not for transferring focus to a new window of the same application.
Closes: #6711
cc @carlosg