Xlib3/XCloseDisplay: Avoid hang after test failure

Merged Peter Harris requested to merge peterh/xts:master into master

If an event from a non-grabbed client leaks through during the GrabServer, we still need to close the display in order to UngrabServer and allow the rest of the test suite to complete.

Signed-off-by: Peter Harris pharris@opentext.com

Merge request reports