Destructively sets the contents of the given XEvent event structure to the values given by the elements of EventValues, a list of event field values in the style of the callback mechanism.
EventValues must at least contain a
type element, and if
display is not given, the default Display is used.
No checking on the validity of the event contents is performed.