If you're willing to deal with a semi-tight polling loop (10-250ms I'd guess) you could use XQueryKeymap(): http://ubuntuforums.org/showpost.php?p=2901208
This seems to bypass XGrabKeyboard() pretty well in my testing. -- keyboard shortcuts do not work when a menu is open https://bugs.launchpad.net/bugs/32860 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a direct subscriber. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs