11.6 Sending Events to Other Applications
To send an event to a specified window, use
XSendEvent().
This function is often used in selection processing.
For example, the owner of a selection should use
XSendEvent()
to send a
SelectionNotify
event to a requestor when a selection has been converted
and stored as a property.
Christophe Tronche, ch@tronche.com