Reproduction steps:
1. Create a new project
2. In the Project view, right-click anywhere > Create > C# Script
3. Open the created script with Jetbrains Rider
4. Add some changes to the C# Script
5. Save the changes
Expected result: Jetbrains Rider stays in focus after saving the changes
Actual result: Unity Editor becomes focused when changes are reloaded
Reproducible with: 2021.3.26f1, 2022.2.21f1, 2023.1.0b18, 2023.2.0a5, 2023.2.0a16
Not reproducible with: 2020.3.48f1, 2023.2.0a1, 2023.2.0a4
Reproducible on: Ubuntu 23.04
Not reproducible on: Ubuntu 22.04, Windows 10 Pro