OK, I think that "Freestyle" is the appropriate solution here. And that X11 overrideRedirect windows should equate to Freestyle surfaces which never receive input focus.
Mir 0.27/1.0 appears to have a new function for creating freestyle surfaces but I can't find any way to flag that they should not receive keyboard focus (note: I mean keyboard focus only as these still need to receive mouse events). So a correct solution requires more API work in Mir 0.27/1.0 and possibly related WM logic in MirAL to enforce the "never receives keyboard focus" flag if set (see comment #16). ** Changed in: mir Status: Confirmed => Triaged ** Changed in: miral Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1625846 Title: Xmir -rootless: Firefox menus pop up then close right away To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1625846/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp