1. 24 Jun, 2016 2 commits
    • Ulrich Sibiller's avatar
      libX11: Extend Event functions to handle IOErrors · b7d7ff3e
      Ulrich Sibiller authored
      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
      b7d7ff3e
    • Ulrich Sibiller's avatar
      libX11: Extend Event functions to handle IOErrors · 5ee04c24
      Ulrich Sibiller authored
      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
      5ee04c24
  2. 10 Oct, 2011 1 commit