Free and destroy an xdo_t instance.
If close_display_when_freed is set, then we will also close the Display.
See Implementation
Free and destroy an xdo_t instance.
If close_display_when_freed is set, then we will also close the Display.