Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!pasteur!shambhala.Berkeley.EDU!ricks From: ricks@shambhala.Berkeley.EDU (Rick L Spickelmier) Newsgroups: comp.windows.x Subject: Losing Keybindings in XRN Message-ID: <18934@pasteur.Berkeley.EDU> Date: 30 Oct 89 18:15:26 GMT Sender: news@pasteur.Berkeley.EDU Reply-To: ricks@berkeley.edu Organization: UC Berkeley IC CAD Group Lines: 24 XRN has the problem that right after popping up a dialog box (using XtPopUp(popup, XtGrabExclusive)) and then popping down, all keybindings in the application are lost. This is dependent on the window manager and the various WM options used. For example, the keybindings are not lost when running with no window manager, or with uwm, but they are lost under GWM (unless you use the -i flag - don't set input focus) and TWM (unless you have NoTitleFocus set). The -i flag to GWM and the NoTitleFocus option to TWM inhibit the following call: XSetInputFocus(dpy, window, RevertToPointerRoot, CurrentTime) How could this affect the bindings... Any ideas on why the window manager would steal the keybindings (or I assume GRAB the keyboard events - the button events are still there) and not give them back? Thanks, Rick Spickelmier UC Berkeley ricks@berkeley.edu