Trying to gather some insight into the window focus behaviour on Gnome.
These links seemed to illuminate aspect of the issue and provide some workarounds, but I doubt that I’ll be able to find a solution:
-
Compiz:
https://superuser.com/questions/143044/how-to-prevent-new-windows-from-stealing-focus-in-gnome
https://askubuntu.com/questions/1084032/how-to-prevent-new-windows-from-stealing-focus
AUR package:
Compiz-easy-patch removed from repos - #13 by MushroomMike -
Discussion on bugs related to focus stealing:
Disable focus stealing prevention (#673) · Issues · GNOME / mutter · GitLab -
Related discussion:
https://askubuntu.com/questions/1205036/gnome-focus-new-windows-strict-not-working-in-one-situation