It might be possible but you're asking for years of bug reports in all the apps where such a hack doesn't quite work.
Better to implement grabs as toolkits use them and expect them to work already. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg-server in Ubuntu. https://bugs.launchpad.net/bugs/1506713 Title: Menus don't always close (need to support pointer grabs without confinement) Status in Mir: Triaged Status in mir package in Ubuntu: Triaged Status in xorg-server package in Ubuntu: Triaged Bug description: App menus don't always close when you click outside of them. They only close (in some cases) if you click on the app itself or are forced to select a menu item. This is an expected problem, as Mir does not yet implement pointer grabs, which is what toolkits use to auto-close menus when you click outside them. To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1506713/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

