[comp.sys.sun] registering keypress events under OLWM

jka@mris.larc.nasa.gov (J. Keith Alston) (06/28/91)

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