home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!utcsri!newsflash.concordia.ca!sifon!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Subject: Re: Communcation with applications using XSendEvent?
- Message-ID: <1992Nov15.211613.21790@thunder.mcrcim.mcgill.edu>
- Keywords: ClientMessageEvents, XSendEvent
- Organization: McGill Research Centre for Intelligent Machines
- References: <1e0id4INNgmi@uwm.edu>
- Date: Sun, 15 Nov 92 21:16:13 GMT
- Lines: 24
-
- In article <1e0id4INNgmi@uwm.edu>, amit@point.cs.uwm.edu (Amit Srivastava) writes:
-
- > I am trying to use XSendEvent to communicate with diff. applications,
- > using the ClientMessageEvent as my event type. What kind of Mask
- > needs to be set up on the receiveing side for an application to
- > receive client message events?
-
- RTFM. The (R4) Xlib document says
-
- 8.3. Event Masks
- [...]
- Unless the client has specifically asked for them, most events
- are not reported to clients when they are generated. [...]
- SelectionClear, SelectionRequest, SelectionNotify, or
- ClientMessage cannot be masked. [...]
-
- So no mask need be set by the receiving application; indeed, it cannot
- prevent itself from getting such events - if it doesn't want them, it
- must ignore them.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-