Gnome - prevent window focus stealing

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: