Who can tell me something about Motif virtual keys, and all this keyboard handling stuff in general. openDX is installing an accelerator of Ctrl<Key>osfEndLine, which we turn into the KeySym 0x1004ff57. Now XKeysymToKeycode takes this and returns 0 for the KeyCode. This means that it couldn't convert it, but we don't care and slap a grab on it anyway. The problem is that 0 just so happens to be AnyKey to the XtGrabKey routine. Which means we end up grabbing the entire keyboard as an accelerator!!!!
10 points goes to anyone who can figure out why we can't convert osfEndLine into a valid KeyCode..... I think I'm also going to add in the check for an XKeysymToKeycode failure during the freeze period. It's pretty obvious that we shouldn't be adding a grab for a keycode that results from a failed conversion. If someone really objects, back it out.......
