edmond@oahu.cs.ucla.edu (Edmond Mesrobian) (10/30/90)
I would like to have two clients comunicating with each other via the X server. Client A would post an event (FOO) with the server, and client B would query the server for the existence of FOO on the event queue. Can a client register a client-specific event with the server? This event is not an event that is already a part of the X server, such as XConfigureEvent. Any pointers to examples or documentation will be greatly appreciated. Thanks in advance, Edmond Mesrobian UCLA Machine Perception Lab
klee@wsl.dec.com (Ken Lee) (10/31/90)
In article <40743@shemp.CS.UCLA.EDU>, edmond@oahu.cs.ucla.edu (Edmond Mesrobian) writes: |> I would like to have two clients comunicating with each other via the X server. |> Client A would post an event (FOO) with the server, and client B would query the |> server for the existence of FOO on the event queue. Can a client register a |> client-specific event with the server? X is not intended to be a general inter-process communication mechanism, but you might want to look at ClientMessage events and PropertyNotify events. They do provide some of the functionality you seek. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee