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 Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs