Create a new xdo_t instance with an existing X11 Display instance.
@param xdpy the Display pointer given by a previous XOpenDisplay()
@param display the string display name
@param close_display_when_freed If true, we will close the display when
xdo_free is called. Otherwise, we leave it open.
Create a new xdo_t instance with an existing X11 Display instance.
@param xdpy the Display pointer given by a previous XOpenDisplay() @param display the string display name @param close_display_when_freed If true, we will close the display when xdo_free is called. Otherwise, we leave it open.