Path: utzoo!attcan!uunet!world!decwrl!bacchus.pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x,ba.windows.x Subject: Re: Help with passive keyboard grab under Motif Message-ID: <1990Oct9.091936@wsl.dec.com> Date: 9 Oct 90 16:19:36 GMT References: <21085@well.sf.ca.us> Sender: news@wrl.dec.com (News) Reply-To: klee@wsl.dec.com Distribution: comp Organization: DEC Western Software Laboratory Lines: 14 In article <21085@well.sf.ca.us>, sri@well.sf.ca.us (Software Research Inc) writes: |> I'm trying to intercept a F1 key sequence, but I'm having problem |> with the XGrabKey(). I've followed everything in the Xlib manuals, In general, it is not a good idea to mix Xlib functions with X Toolkit functions, except inside for widgets. XGrabKey interferes with the X Toolkit input manager. Motif 1.1 and X11R4 include the function XtGrabKey that you should use instead. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee