aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/mi/mivalidate.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-06-24 21:22:01 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-25 00:37:47 +0200
commitb7d7ff3e4d1be2d6b8ca0895cf9694dddcffa646 (patch)
tree72ba967c6643be796eba038ff3c6883048454635 /nx-X11/programs/Xserver/mi/mivalidate.h
parente079b0b35dd4a775d786ad5d594845cac666d8ac (diff)
downloadnx-libs-b7d7ff3e4d1be2d6b8ca0895cf9694dddcffa646.tar.gz
nx-libs-b7d7ff3e4d1be2d6b8ca0895cf9694dddcffa646.tar.bz2
nx-libs-b7d7ff3e4d1be2d6b8ca0895cf9694dddcffa646.zip
libX11: Extend Event functions to handle IOErrors
To allow for suspend/resume NX has changed _XReadEvents() and _XIOError(). _XIOError() does not simply exit but returns. And _XReadEvents() returns after _XIOError(). But as the original _XReadEvents() is supposed to block until at least one event is there calling functions are not prepared for situations where no event is available. These calling functions have to check that condition., Some of the calling functions already had that check but the UnlockDisplay() call was missing. Fixes https://github.com/ArcticaProject/nx-libs/issues/118
Diffstat (limited to 'nx-X11/programs/Xserver/mi/mivalidate.h')
0 files changed, 0 insertions, 0 deletions