aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/MaskEvent.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/MaskEvent.c')
-rw-r--r--nx-X11/lib/X11/MaskEvent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/MaskEvent.c b/nx-X11/lib/X11/MaskEvent.c
index c48a960d2..a46766685 100644
--- a/nx-X11/lib/X11/MaskEvent.c
+++ b/nx-X11/lib/X11/MaskEvent.c
@@ -77,6 +77,7 @@ XMaskEvent (dpy, mask, event)
prev = NULL;
#ifdef NX_TRANS_SOCKET
if (_XGetIOError(dpy)) {
+ UnlockDisplay(dpy);
return 0;
}
#endif