diff options
author | Peter Harris <pharris@opentext.com> | 2020-02-27 14:48:20 -0500 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2020-02-27 14:53:23 -0500 |
commit | 41b57e2e7f4744a3390da95548f80ce4e618b6a3 (patch) | |
tree | b3e6a28799ce66f00adb34c6a5b569e9977b8f23 /xts5 | |
parent | 0a78a71c82cdb9ac96e2ee752e73502e5b990b07 (diff) |
Xlib3/XCloseDisplay: Avoid hang after test failure
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>
Diffstat (limited to 'xts5')
-rw-r--r-- | xts5/Xlib3/XCloseDisplay.m | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xts5/Xlib3/XCloseDisplay.m b/xts5/Xlib3/XCloseDisplay.m index 355c3448..33a520ae 100644 --- a/xts5/Xlib3/XCloseDisplay.m +++ b/xts5/Xlib3/XCloseDisplay.m @@ -420,7 +420,6 @@ int pass=0; if(XCheckWindowEvent(display, win, PropertyChangeMask, &ev) == True) { delete("A request was processed for a non-grabbing client."); - return; } else CHECK; |