Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!karlton From: karlton@decwrl.dec.com (Philip Karlton) Newsgroups: comp.windows.x Subject: Re: Naive Question about Curses, Xt Message-ID: <1@gnome4.pa.dec.com> Date: 22 Feb 89 19:27:23 GMT References: <8902200344.AA10242@remote.dccs.upenn.edu> <2029@titan.sw.mcc.com> Organization: DEC Western Software Lab, Palo Alto, CA Lines: 20 In article <2029@titan.sw.mcc.com> janssen@titan.sw.mcc.com (Bill Janssen) writes: >You are going to have >to somehow find the resource-id of the xterm window, and ask for events >on it. Can two clients receive the same event from a window? Probably >not. Well, it turns out that multiple clients can receive the same event from a window. You should be able to get the window id from the environment variable WINDOWID. Xterm will normally set that up when it starts up. This ID will probably be several levels up in the window heirarchy of the window that you want to get the events from. PK -- Philip L. Karlton, DEC Western Software Lab, Palo Alto, CA karlton@wsl.dec.com WSL::KARLTON 415 853 6684