Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: jka@mris.larc.nasa.gov (J. Keith Alston) Newsgroups: comp.sys.sun Subject: registering keypress events under OLWM Keywords: No Digest Subjects during Flush Message-ID: <4132@brchh104.bnr.ca> Date: 27 Jun 91 20:22:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Flush Mode Lines: 18 Approved: sun-spots@rice.edu X-Original-Date: Wed, 19 Jun 1991 21:04:21 GMT Hello, I am writing an Xlib application on a SPARCstation 2. The application opens up a window, and draws some graphics in it. The graphic that I display is doing a continuous update until I do a button press. I also want this app to "pause" when I do a keypress. The problem is that when I run MWM the program accepts keypress or buttonpress events. But when I run OLWM the program will only accept buttonpress events. I get a beep when I press a key. I have the focuspolicy set to followmouse. Anyone out there have any idea why I can't register keypress events under OLWM? Any help would be greatly appreciated, Keith Alston jka@snow.larc.nasa.gov please respond via email -- Don't just do it! Lockheed Eng. and Sci. Co./Nasa Larc|J. Keith Alston jka@snow.larc.nasa.gov