This is correct behaviour. The X server window loses focus, not the X app inside it.
Your app would lose focus correctly if Unity8 used Xmir properly with -rootless. I appreciate Unity8's still not ready for that (bug 1543467) so will implement another workaround in Xmir.
This is correct behaviour. The X server window loses focus, not the X app inside it.
Your app would lose focus correctly if Unity8 used Xmir properly with -rootless. I appreciate Unity8's still not ready for that (bug 1543467) so will implement another workaround in Xmir.