Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!njin!princeton!udel!haven!decuac!bacchus.pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Question about DecWindows and KeyPress Event Keywords: DecWindows, KeyPress Message-ID: <1990Oct22.140402@wsl.dec.com> Date: 22 Oct 90 21:04:02 GMT References: <70157@lll-winken.LLNL.GOV> Sender: news@wrl.dec.com (News) Reply-To: klee@wsl.dec.com Distribution: usa Organization: DEC Western Software Laboratory Lines: 17 In article <70157@lll-winken.LLNL.GOV>, mking@lll-crg.llnl.gov (Marianne King) writes: |> I am experimenting with the KeyPress event. I set up the event handler |> by calling XtAddEventHandler with the KeyPressMask. When I run my |> program on a Sun and I press a key, the event is recognized. My |> problem occurs when my client machine is a Sun and my server machine is |> a DecStation 3100 running Ultrix 4.0 and DecWindows. XtAddEventHandler works properly for me. Are you setting your input hints properly? ICCCM-complaint window managers require that it be set for keyboard input to be reported. Your Sun may have an older or non-compliant window manager that ignores the input hint. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee