Allow events to be generated for a different X display.